JwtPayload.ValidFrom Property

Definition

Gets the 'value' of the 'notbefore' claim { nbf, 'value' } converted to a System.DateTime assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z).

public DateTime ValidFrom { get; }
member this.ValidFrom : DateTime
Public ReadOnly Property ValidFrom As DateTime

Property Value

System.DateTime

Remarks

If the 'notbefore' claim is not found, then System.DateTime.MinValue is returned. Time is returned as UTC.

Applies to