ערוך

שתף באמצעות


WindowsSecurityToken.ValidTo Property

Definition

Gets the last instant in time at which this security token is valid.

public:
 virtual property DateTime ValidTo { DateTime get(); };
public override DateTime ValidTo { get; }
member this.ValidTo : DateTime
Public Overrides ReadOnly Property ValidTo As DateTime

Property Value

A DateTime that represents the last instant in time at which this security token is valid.

Remarks

A WindowsSecurityToken security token is valid for 10 hours, by default. The ValidTo property is set to the instant in time when the WindowsSecurityToken class is created plus 10 hours.

Applies to