SocketTools .NET Edition

HttpClient.HttpCookie.Expires Field

Gets a value which specifies the date and time the cookie expires.

[Visual Basic]
Public Expires As Date
[C#]
public DateTime Expires;

Remarks

If the cookie expiration value is later than the current date and time, the cookie should not be provided to the server when a resource is requested. This is only valid for persistent cookies, since session cookies are automatically deleted when the client application terminates. The time is always expressed as Coordinated Universal Time.

See Also

HttpClient.HttpCookie Class | SocketTools Namespace