Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Sinbadsoft
Lib
UserManagement
VerificationToken
IsFresh
Sinbadsoft.Lib.UserManagement.VerificationToken.IsFresh C# (CSharp) Method
VerificationToken Class Documentation
Mostra file
Open project: Sinbadsoft/Sinbadsoft.Lib.UserManagement
IsFresh()
public
method
public
IsFresh
(
System.TimeSpan
span
,
System.DateTime
now
) :
bool
span
System.TimeSpan
now
System.DateTime
return
bool
public bool IsFresh(TimeSpan span, DateTime now) { return now.Subtract(span) <= this.Timestamp; }
Same methods
VerificationToken::
IsFresh
(
int
days
) :
bool
VerificationToken
Generate
IsFresh
Parse
ToString
VerificationToken