NamedKeySecurityToken.ValidFrom Property
Gets the creation time as a DateTime.
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property ValidFrom As DateTime
public override DateTime ValidFrom { get; }
public:
virtual property DateTime ValidFrom {
DateTime get () override;
}
abstract ValidFrom : DateTime with get
override ValidFrom : DateTime with get
override function get ValidFrom () : DateTime
Property Value
Type: System.DateTime
Returns DateTime.
Remarks
The default is: UtcNow set in NamedKeySecurityToken.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.