CookieContainer.GetCookieHeader Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the HTTP cookie header that contains cookies pertaining to the specified Uniform Resource Identifier (URI).
Assembly: System.Net (in System.Net.dll)
Parameters
- uri
- Type: System.Uri
The URI to retrieve cookies for.
Return Value
Type: System.StringA string representing the cookie header associated with the specified URI.
| Exception | Condition |
|---|---|
| ArgumentNullException | uri is Nothing. |
Show: