Sinbadsoft.Lib.UserManagement.VerificationToken.IsFresh C# (CSharp) Method

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