Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FileWebRequest Methods

FileWebRequest Methods

The FileWebRequest type exposes the following members.

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.)

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

Community Additions

© 2015 Microsoft