PackWebRequest.GetResponse Method ()

 

Returns the response stream for the request.

Namespace:   System.IO.Packaging
Assembly:  PresentationCore (in PresentationCore.dll)

<SecurityCriticalAttribute>
Public Overrides Function GetResponse As WebResponse

Return Value

Type: System.Net.WebResponse

The response stream for the request.

Per the signature of the base class, GetResponse returns value of type WebResponse. The return value it is actually of type PackWebResponse specific to the response of the pack URI protocol.

The Close method should be called when the application is finished with the WebResponse stream.

.NET Framework
Available since 3.0
Return to top
Show: