Export (0) Print
Expand All

FileWebRequest Members

Provides a file system implementation of the WebRequest class.

The FileWebRequest type exposes the following members.

  NameDescription
Protected method FileWebRequest Obsolete. Initializes a new instance of the FileWebRequest class from the specified instances of the SerializationInfo and StreamingContext classes.
Top

  NameDescription
Public method Abort Cancels a request to an Internet resource. (Overrides WebRequest.Abort().)
Public method BeginGetRequestStream Begins an asynchronous request for a Stream object to use to write data. (Overrides WebRequest.BeginGetRequestStream(AsyncCallback, Object).)
Public method BeginGetResponse Begins an asynchronous request for a file system resource. (Overrides WebRequest.BeginGetResponse(AsyncCallback, Object).)
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 EndGetRequestStream Ends an asynchronous request for a Stream instance that the application uses to write data. (Overrides WebRequest.EndGetRequestStream(IAsyncResult).)
Public method EndGetResponse Ends an asynchronous request for a file system resource. (Overrides WebRequest.EndGetResponse(IAsyncResult).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method 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.)
Protected method GetObjectData Populates a SerializationInfo with the data needed to serialize the target object. (Overrides WebRequest.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetRequestStream Returns a Stream object for writing data to the file system resource. (Overrides WebRequest.GetRequestStream().)
Public method GetResponse Returns a response to a file system request. (Overrides WebRequest.GetResponse().)
Public method 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.)
Protected method MemberwiseClone Overloaded.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property AuthenticationLevel Gets or sets values indicating the level of authentication and impersonation used for this request. (Inherited from WebRequest.)
Public property CachePolicy Gets or sets the cache policy for this request. (Inherited from WebRequest.)
Public property ConnectionGroupName Gets or sets the name of the connection group for the request. This property is reserved for future use. (Overrides WebRequest.ConnectionGroupName.)
Public property ContentLength Gets or sets the content length of the data being sent. (Overrides WebRequest.ContentLength.)
Public property ContentType Gets or sets the content type of the data being sent. This property is reserved for future use. (Overrides WebRequest.ContentType.)
Public property Credentials Gets or sets the credentials that are associated with this request. This property is reserved for future use. (Overrides WebRequest.Credentials.)
Public property Headers Gets a collection of the name/value pairs that are associated with the request. This property is reserved for future use. (Overrides WebRequest.Headers.)
Public property ImpersonationLevel Gets or sets the impersonation level for the current request. (Inherited from WebRequest.)
Public property Method Gets or sets the protocol method used for the request. This property is reserved for future use. (Overrides WebRequest.Method.)
Public property PreAuthenticate Gets or sets a value that indicates whether to preauthenticate a request. This property is reserved for future use. (Overrides WebRequest.PreAuthenticate.)
Public property Proxy Gets or sets the network proxy to use for this request. This property is reserved for future use. (Overrides WebRequest.Proxy.)
Public property RequestUri Gets the Uniform Resource Identifier (URI) of the request. (Overrides WebRequest.RequestUri.)
Public property Timeout Gets or sets the length of time until the request times out. (Overrides WebRequest.Timeout.)
Public property UseDefaultCredentials Infrastructure. Always throws a NotSupportedException. (Overrides WebRequest.UseDefaultCredentials.)
Top

  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. Populates a SerializationInfo object with the required data to serialize the FileWebRequest.
Top

Community Additions

ADD
Show:
© 2015 Microsoft