WebRequest Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The WebRequest type exposes the following members.
| 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. |
Show: