Export (0) Print
Expand All

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
© 2015 Microsoft