Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpWebRequest Members

HttpWebRequest overview

Public Properties

public propertyAccept

Supported by the .NET Compact Framework.

Gets or sets the value of the Accept HTTP header.
public propertyAddress

Supported by the .NET Compact Framework.

Gets the URI of the Internet resource that actually responds to the request.
public propertyAllowAutoRedirect

Supported by the .NET Compact Framework.

Gets or sets a value that indicates whether the request should follow redirection responses.
public propertyAllowWriteStreamBuffering

Supported by the .NET Compact Framework.

Gets or sets a value that indicates whether to buffer the data sent to the Internet resource.
public propertyClientCertificates Gets the collection of security certificates associated with this request.
public propertyConnection

Supported by the .NET Compact Framework.

Gets or sets the value of the Connection HTTP header.
public propertyConnectionGroupName

Supported by the .NET Compact Framework.

Overridden. Gets or sets the name of the connection group for the request.
public propertyContentLength

Supported by the .NET Compact Framework.

Overridden. Gets or sets the Content-length HTTP header.
public propertyContentType

Supported by the .NET Compact Framework.

Overridden. Gets or sets the value of the Content-type HTTP header.
public propertyContinueDelegate

Supported by the .NET Compact Framework.

Gets or sets the delegate method called when an HTTP 100-continue response is received from the Internet resource.
public propertyCookieContainer Gets or sets the cookies associated with the request.
public propertyCredentials

Supported by the .NET Compact Framework.

Overridden. Provides authentication information for the request.
public propertystatic (Shared in Visual Basic)DefaultMaximumResponseHeadersLength Gets or sets the default for the MaximumResponseHeadersLength property.
public propertyExpect

Supported by the .NET Compact Framework.

Gets or sets the value of the Expect HTTP header.
public propertyHaveResponse

Supported by the .NET Compact Framework.

Gets a value indicating whether a response has been received from an Internet resource.
public propertyHeaders

Supported by the .NET Compact Framework.

Overridden. Gets a collection of the name/value pairs that make up the HTTP headers.
public propertyIfModifiedSince

Supported by the .NET Compact Framework.

Gets or sets the value of the If-Modified-Since HTTP header.
public propertyKeepAlive

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether to make a persistent connection to the Internet resource.
public propertyMaximumAutomaticRedirections

Supported by the .NET Compact Framework.

Gets or sets the maximum number of redirects that the request will follow.
public propertyMaximumResponseHeadersLength Gets or sets the maximum allowed length of the response headers.
public propertyMediaType

Supported by the .NET Compact Framework.

Gets or sets the media type of the request.
public propertyMethod

Supported by the .NET Compact Framework.

Overridden. Gets or sets the method for the request.
public propertyPipelined

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether to pipeline the request to the Internet resource.
public propertyPreAuthenticate

Supported by the .NET Compact Framework.

Overridden. Gets or sets a value indicating whether to send a authenticate header with the request.
public propertyProtocolVersion

Supported by the .NET Compact Framework.

Gets or sets the version of HTTP to use for the request.
public propertyProxy

Supported by the .NET Compact Framework.

Overridden. Gets or sets proxy information for the request.
public propertyReadWriteTimeout
public propertyReferer

Supported by the .NET Compact Framework.

Gets or sets the value of the Referer HTTP header.
public propertyRequestUri

Supported by the .NET Compact Framework.

Overridden. Gets the original URI of the request.
public propertySendChunked

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether to send data in segments to the Internet resource.
public propertyServicePoint

Supported by the .NET Compact Framework.

Gets the service point to use for the request.
public propertyTimeout

Supported by the .NET Compact Framework.

Overridden. Gets or sets the time-out value for a request.
public propertyTransferEncoding

Supported by the .NET Compact Framework.

Gets or sets the value of the Transfer-encoding HTTP header.
public propertyUnsafeAuthenticatedConnectionSharing Gets or sets a value indicating whether to allow NTLM-authenticated connection sharing.
public propertyUserAgent

Supported by the .NET Compact Framework.

Gets or sets the value of the User-agent HTTP header.

Public Methods

public methodAbort

Supported by the .NET Compact Framework.

Overridden. Cancels a request to an Internet resource.
public methodAddRange

Supported by the .NET Compact Framework.

Overloaded. Adds a range header to the request.
public methodBeginGetRequestStream

Supported by the .NET Compact Framework.

Overridden. Begins an asynchronous request for a Stream instance to use to write data.
public methodBeginGetResponse

Supported by the .NET Compact Framework.

Overridden. Begins an asynchronous request to an Internet resource.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEndGetRequestStream

Supported by the .NET Compact Framework.

Overridden. Ends an asynchronous request for a Stream instance to use to write data.
public methodEndGetResponse

Supported by the .NET Compact Framework.

Overridden. Ends an asynchronous request to an Internet resource.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Gets the hash code for this HttpWebRequest.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetRequestStream

Supported by the .NET Compact Framework.

Overridden. Gets a Stream instance to use to write request data.
public methodGetResponse

Supported by the .NET Compact Framework.

Overridden. Returns a response from an Internet resource.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Constructors

protected constructorHttpWebRequest Constructor Initializes a new instance of the HttpWebRequest class from the specified instances of the SerializationInfo and StreamingContext classes.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

Explicit Interface Implementations

ISerializable.GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.

See Also

HttpWebRequest Class | System.Net Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.