X509SecurityToken.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

DateTime

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

Remarks

The ValidFrom property is specified in Coordinated Universal Time (UTC) and is the value of the NotAfter property of the X.509 certificate specified in the Certificate property.

Applies to