Export (0) Print
Expand All

WebRequest Properties

The WebRequest type exposes the following members.

  NameDescription
Public property AuthenticationLevel Gets or sets values indicating the level of authentication and impersonation used for this request.
Public property CachePolicy Gets or sets the cache policy for this request.
Public property ConnectionGroupName When overridden in a descendant class, gets or sets the name of the connection group for the request.
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 Credentials When overridden in a descendant class, gets or sets the network credentials used for authenticating the request with the Internet resource.
Public property Static member DefaultCachePolicy Gets or sets the default cache policy for this request.
Public property Static member DefaultWebProxy Gets or sets the global HTTP proxy.
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 ImpersonationLevel Gets or sets the impersonation level for the current request.
Public property Method When overridden in a descendant class, gets or sets the protocol method to use in this request.
Public property PreAuthenticate When overridden in a descendant class, indicates whether to pre-authenticate the request.
Public property Proxy When overridden in a descendant class, gets or sets the network proxy to use to access this Internet resource.
Public property RequestUri When overridden in a descendant class, gets the URI of the Internet resource associated with the request.
Public property Timeout Gets or sets the length of time, in milliseconds, before the request times out.
Public property UseDefaultCredentials When overridden in a descendant class, gets or sets a Boolean value that controls whether DefaultCredentials are sent with requests.
Top

Community Additions

ADD
Show:
© 2014 Microsoft