WebRequest Properties

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The WebRequest type exposes the following members.

Properties

  Name Description
Public property ContentLength When overridden in a descendant class, gets or sets the content length of the request data being sent.
Public propertySupported by Silverlight for Windows Phone ContentType When overridden in a descendant class, gets or sets the content type of the request data being sent.
Public propertySupported 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.
Public propertySupported 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.
Public propertySupported by Silverlight for Windows Phone Headers When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request.
Public propertySupported by Silverlight for Windows Phone Method When overridden in a descendant class, gets or sets the protocol method to use in this request.
Public propertySupported by Silverlight for Windows Phone RequestUri When overridden in a descendant class, gets the URI of the Internet resource associated with the request.
Public propertySupported 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.

Top