PackWebRequest.GetResponse Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the response stream for the request.

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

[SecurityCriticalAttribute]
public override WebResponse GetResponse()

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: