CookieHandler.Read Method

.NET Framework 4.6 and 4.5

Reads the cookie associated with the current request that has the default name.

Namespace:  System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public byte[] Read()

Return Value

Type: System.Byte[]
The cookie value or null if the cookie was not found.

The name of the cookie is specified by the Name property. The request is specified by HttpContext.Current.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft