Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PackWebRequest::GetResponse Method ()

 

Returns the response stream for the request.

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

public:
[SecurityCriticalAttribute]
virtual WebResponse^ GetResponse() override

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:
© 2017 Microsoft