Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

HttpWebRequest Members

Provides an HTTP-specific implementation of the WebRequest class.

The following tables list the members exposed by the HttpWebRequest type.

  Name Description
Protected method HttpWebRequest Initializes a new instance of the HttpWebRequest class from the specified instances of the SerializationInfo and StreamingContext classes.
Top
  Name Description
Public property Supported by the .NET Compact Framework Accept Gets or sets the value of the Accept HTTP header.
Public property Supported by the .NET Compact Framework Address Gets the Uniform Resource Identifier (URI) of the Internet resource that actually responds to the request.
Public property Supported by the .NET Compact Framework AllowAutoRedirect Gets or sets a value that indicates whether the request should follow redirection responses.
Public property Supported by the .NET Compact Framework AllowWriteStreamBuffering Gets or sets a value that indicates whether to buffer the data sent to the Internet resource.
Public property AuthenticationLevel  Gets or sets values indicating the level of authentication and impersonation used for this request.(inherited from WebRequest)
Public property AutomaticDecompression Gets or sets the type of decompression that is used.
Public property CachePolicy  Gets or sets the cache policy for this request.(inherited from WebRequest)
Public property ClientCertificates Gets or sets the collection of security certificates that are associated with this request.
Public property Supported by the .NET Compact Framework Connection Gets or sets the value of the Connection HTTP header.
Public property Supported by the .NET Compact Framework ConnectionGroupName Overridden. Gets or sets the name of the connection group for the request.
Public property Supported by the .NET Compact Framework ContentLength Overridden. Gets or sets the Content-length HTTP header.
Public property Supported by the .NET Compact Framework ContentType Overridden. Gets or sets the value of the Content-type HTTP header.
Public property Supported by the .NET Compact Framework ContinueDelegate Gets or sets the delegate method called when an HTTP 100-continue response is received from the Internet resource.
Public property CookieContainer Gets or sets the cookies associated with the request.
Public property Supported by the .NET Compact Framework Credentials Overridden. Gets or sets authentication information for the request.
Public property Static DefaultCachePolicy Gets or sets the default cache policy for this request.
Public property Static DefaultMaximumErrorResponseLength Gets or sets the default maximum length of an HTTP error response.
Public property Static DefaultMaximumResponseHeadersLength Gets or sets the default for the MaximumResponseHeadersLength property.
Public property Static DefaultWebProxy  Gets or sets the global HTTP proxy.(inherited from WebRequest)
Public property Supported by the .NET Compact Framework Expect Gets or sets the value of the Expect HTTP header.
Public property Supported by the .NET Compact Framework HaveResponse Gets a value that indicates whether a response has been received from an Internet resource.
Public property Supported by the .NET Compact Framework Headers Overridden. Specifies a collection of the name/value pairs that make up the HTTP headers.
Public property Supported by the .NET Compact Framework IfModifiedSince Gets or sets the value of the If-Modified-Since HTTP header.
Public property ImpersonationLevel  Gets or sets the impersonation level for the current request.(inherited from WebRequest)
Public property Supported by the .NET Compact Framework KeepAlive Gets or sets a value that indicates whether to make a persistent connection to the Internet resource.
Public property Supported by the .NET Compact Framework MaximumAutomaticRedirections Gets or sets the maximum number of redirects that the request follows.
Public property MaximumResponseHeadersLength Gets or sets the maximum allowed length of the response headers.
Public property Supported by the .NET Compact Framework MediaType Gets or sets the media type of the request.
Public property Supported by the .NET Compact Framework Method Overridden. Gets or sets the method for the request.
Public property Supported by the .NET Compact Framework Pipelined Gets or sets a value that indicates whether to pipeline the request to the Internet resource.
Public property Supported by the .NET Compact Framework PreAuthenticate Overridden. Gets or sets a value that indicates whether to send an authenticate header with the request.
Public property Supported by the .NET Compact Framework ProtocolVersion Gets or sets the version of HTTP to use for the request.
Public property Supported by the .NET Compact Framework Proxy Overridden. Gets or sets proxy information for the request.
Public property Supported by the .NET Compact Framework ReadWriteTimeout Gets or sets a time-out in milliseconds when writing to or reading from a stream.
Public property Supported by the .NET Compact Framework Referer Gets or sets the value of the Referer HTTP header.
Public property Supported by the .NET Compact Framework RequestUri Overridden. Gets the original Uniform Resource Identifier (URI) of the request.
Public property Supported by the .NET Compact Framework SendChunked Gets or sets a value that indicates whether to send data in segments to the Internet resource.
Public property Supported by the .NET Compact Framework ServicePoint Gets the service point to use for the request.
Public property Supported by the .NET Compact Framework Timeout Overridden. Gets or sets the time-out value in milliseconds for the GetResponse and GetRequestStream methods.
Public property Supported by the .NET Compact Framework TransferEncoding Gets or sets the value of the Transfer-encoding HTTP header.
Public property UnsafeAuthenticatedConnectionSharing Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing.
Public property UseDefaultCredentials Overridden. Gets or sets a Boolean value that controls whether default credentials are sent with requests.
Public property Supported by the .NET Compact Framework UserAgent Gets or sets the value of the User-agent HTTP header.
Top
(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Abort Overridden. Cancels a request to an Internet resource.
Public method Supported by the .NET Compact Framework AddRange Overloaded. Adds a range header to the request.
Public method Supported by the .NET Compact Framework BeginGetRequestStream Overridden. Begins an asynchronous request for a Stream object to use to write data.
Public method Supported by the .NET Compact Framework BeginGetResponse Overridden. Begins an asynchronous request to an Internet resource.
Public method Static Supported by the .NET Compact Framework Create  Overloaded. Initializes a new WebRequest. (inherited from WebRequest)
Public method Static Supported by the .NET Compact Framework CreateDefault  Initializes a new WebRequest instance for the specified URI scheme. (inherited from WebRequest)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework EndGetRequestStream Overridden. Ends an asynchronous request for a Stream object to use to write data.
Public method Supported by the .NET Compact Framework EndGetResponse Overridden. Ends an asynchronous request to an Internet resource.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework GetRequestStream Overridden. Gets a Stream object to use to write request data.
Public method Supported by the .NET Compact Framework GetResponse Overridden. Returns a response from an Internet resource.
Public method Static GetSystemWebProxy  Returns a proxy configured with the Internet Explorer settings of the currently impersonated user. (inherited from WebRequest)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework RegisterPrefix  Registers a WebRequest descendant for the specified URI. (inherited from WebRequest)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top
  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetObjectData Overridden. Populates a SerializationInfo with the data required to serialize the target object.
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.