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 | |
---|---|---|
ContentLength | When overridden in a descendant class, gets or sets the content length of the request data being sent. | |
ContentType | When overridden in a descendant class, gets or sets the content type of the request data being sent. | |
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. | |
Credentials | When overridden in a descendant class, gets or sets the network credentials used for authenticating the request with the Internet resource. | |
Headers | When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request. | |
Method | When overridden in a descendant class, gets or sets the protocol method to use in this request. | |
RequestUri | When overridden in a descendant class, gets the URI of the Internet resource associated with the request. | |
UseDefaultCredentials | When overridden in a descendant class, gets or sets a Boolean value that controls whether default credentials are sent with requests. |
Top