ToString Method
Collapse the table of content
Expand the table of content

Cookie.ToString Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns a string representation of the Cookie suitable for including in an HTTP cookie request.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

public override string ToString()

Return Value

Type: System.String
A string representation of the Cookie suitable for including in an HTTP cookie request.

The exact format of the string depends on the RFC that this cookie conforms to.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft