WebRequest Properties

May 11, 2014

The WebRequest type exposes the following members.

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

Show:
© 2014 Microsoft