.NET Framework 4.6 and 4.5
Gets or sets the current state of the Cookie.
(in System.Net.Primitives.dll) System
member Expired : bool with get, set
Type: System.Booleantrue if the Cookie has expired; otherwise, false. The default is false.
Expired cookies, if received, should be destroyed by the client application.
The following example displays the properties of cookies returned in a response. For the complete example, see the Cookie class topic.
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Portable Class Library
Supported in: Portable Class Library
Supported in: Windows Phone 8.1
Supported in: Windows Phone Silverlight 8.1
Supported in: Windows Phone Silverlight 8