Web Response Class
Represents a response of a PackWebRequest.
public ref class PackWebResponse sealed : System::Net::WebResponse
public sealed class PackWebResponse : System.Net.WebResponse
type PackWebResponse = class inherit WebResponse
Public NotInheritable Class PackWebResponse Inherits WebResponse
When you use the pack URI protocol, you can reference a package and its part elements either locally from inside a package or externally from a Web source.
For the pack URI protocol, the forward-slash characters (//) of an embedded uniform resource identifier (URI) are represented by commas (,,). For example:
pack://http:,,www.adatum.com,folder,file.package/images/picture1.jpg references the file
/images/picture1.jpg that is contained in
Gets the content length of the response.
Gets the Multipurpose Internet Mail Extensions (MIME) content type of the response stream's content.
Gets the collection of Web Headers for this response.
Gets the inner WebResponse object for the response.
Gets a value indicating whether the response is from the package cache or from a Web request.
Gets a Boolean value that indicates whether mutual authentication occurred.(Inherited from WebResponse)
Gets the uniform resource identifier (URI) of the response.
Gets a value that indicates if headers are supported.(Inherited from WebResponse)
Closes the stream for this request.
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject)
Releases the unmanaged resources used by the WebResponse object.(Inherited from WebResponse)
Releases the unmanaged resources used by the WebResponse object, and optionally disposes of the managed resources.(Inherited from WebResponse)
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Populates a SerializationInfo with the data that is needed to serialize the target object.(Inherited from WebResponse)
Gets the response stream that is contained in the PackWebResponse.
Gets the Type of the current instance.(Inherited from Object)
Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Creates a shallow copy of the current Object.(Inherited from Object)
Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject)
Returns a string that represents the current object.(Inherited from Object)
Explicit Interface Implementations
When overridden in a derived class, releases all resources used by the WebResponse.(Inherited from WebResponse)