Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

HttpWebRequest Properties

The HttpWebRequest type exposes the following members.

  Name Description
Public property Supported by Silverlight for Windows Phone Accept Gets or sets the value of the Accept HTTP header.
Public property Supported by Silverlight for Windows Phone AllowAutoRedirect Gets or sets a value that indicates whether the request should follow redirection responses.
Public property Supported by Silverlight for Windows Phone AllowReadStreamBuffering When overridden in a descendant class, gets or sets a value that indicates whether to buffer the data read from the Internet resource.
Public property AllowWriteStreamBuffering When overridden in a descendant class, gets or sets a value that indicates whether to buffer the data written to the Internet resource.
Public property ContentLength When overridden in a descendant class, gets or sets the content length of the request data being sent. (Inherited from WebRequest.)
Public property Supported by Silverlight for Windows Phone ContentType Gets or sets the value of the Content-type HTTP header. (Overrides WebRequest.ContentType.)
Public property Supported by Silverlight for Windows Phone CookieContainer Specifies the collection of CookieCollection objects associated with the HTTP request.
Public property Supported by Silverlight for Windows Phone CreatorInstance When overridden in a descendant class, gets the factory object derived from the IWebRequestCreate class used to create the WebRequest instantiated for making the request to the specified URI. (Inherited from WebRequest.)
Public property Supported by Silverlight for Windows Phone Credentials When overridden in a descendant class, gets or sets the network credentials used for authenticating the request with the Internet resource. (Inherited from WebRequest.)

In Silverlight for Windows Phone, this member is overridden by Credentials.


In XNA Framework, this member is overridden by Credentials.
Public property Supported by Silverlight for Windows Phone HaveResponse Gets a value that indicates whether a response has been received from an Internet resource.
Public property Supported by Silverlight for Windows Phone Headers Specifies a collection of the name/value pairs that make up the HTTP headers. (Overrides WebRequest.Headers.)
Public property Supported by Silverlight for Windows Phone Method Gets or sets the method for the request. (Overrides WebRequest.Method.)
Public property Supported by Silverlight for Windows Phone RequestUri Gets the original Uniform Resource Identifier (URI) of the request. (Overrides WebRequest.RequestUri.)
Public property Supported by Silverlight for Windows Phone SupportsCookieContainer Gets a value that indicates whether the CookieContainer property is supported by the HttpWebRequest instance.
Public property Supported by Silverlight for Windows Phone UseDefaultCredentials When overridden in a descendant class, gets or sets a Boolean value that controls whether default credentials are sent with requests. (Inherited from WebRequest.)
Public property Supported by Silverlight for Windows Phone UserAgent Gets or sets the value of the User-agent HTTP header.
Top

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.