• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • jQuery
    • Angular
    • React
    • Vue
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class URLMonInterop

URLMon Interop Class

Inheritance
System.Object
URLMonInterop
Namespace: Fiddler
Assembly: FiddlerCore.dll

Syntax

public static class URLMonInterop : Object

Methods

GetProxyInProcess()

Query WinINET for the current process' proxy settings. Oddly, there's no way to UrlMkGetSessionOption for the current proxy.

Declaration
public static string GetProxyInProcess()
Returns
System.String

String of hex suitable for display

ResetProxyInProcessToDefault()

Configures the current process to use the system proxy for URLMon/WinINET traffic.

Declaration
public static void ResetProxyInProcessToDefault()

SetProxyDisabledForProcess()

Configures the current process to use no Proxy for URLMon/WinINET traffic.

Declaration
public static void SetProxyDisabledForProcess()

SetProxyInProcess(String, String)

Sets the proxy for the current process to the specified list. See http://msdn.microsoft.com/en-us/library/aa383996(VS.85).aspx

Declaration
public static void SetProxyInProcess(string sProxy, string sBypassList)
Parameters
System.String sProxy

e.g. "127.0.0.1:8888" or "http=insecProxy:80;https=secProxy:444"

System.String sBypassList

Semi-colon delimted list of hosts to bypass proxy; use <local> to bypass for Intranet

SetUAStringInProcess(String)

Set the user-agent string for the current process

Declaration
public static void SetUAStringInProcess(string sUA)
Parameters
System.String sUA

New UA string

Getting Started
  • Try Now
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.