WebRequestCreator.BrowserHttp Property

Gets an object that specifies browser HTTP handling for Web requests and responses.

Namespace:  System.Net.Browser
Assembly:  System.Windows (in System.Windows.dll)

public static IWebRequestCreate BrowserHttp { get; }

Property Value

Type: System.Net.IWebRequestCreate
An IWebRequestCreate object that specifies browser handling for Web requests and responses.

By default, HTTP handling for Web requests and responses are handled by the browser.

When using browser HTTP handling, you cannot access cookies on the HttpWebRequest and HttpWebResponse objects. If you attempt to access cookies, an exception will be thrown.

After you specify client or browser HTTP handling for a particular scheme or domain, you cannot change how HTTP messages to the domain or scheme are handled. If you try to call RegisterPrefix a second time for the same domain or prefix, the method will return false to indicate the register operation was not successful.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft