GetResponse Method
Collapse the table of content
Expand the table of content

PackWebRequest.GetResponse Method ()


Returns the response stream for the request.

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

override GetResponse : unit -> 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
© 2016 Microsoft