Class URLMonInterop
URLMon Interop Class
Inheritance
Inherited Members
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public static class URLMonInterop
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 |