Method IsValidAt
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
IsValidAt(DateTimeOffset)
Whether time is within the validity window, as OpenSSH has it: valid_after <= time < valid_before,
in whole seconds. The window's start is inclusive and its end exclusive; "always" and "forever" (0xffffffffffffffff) are
the ends of time.
public bool IsValidAt(DateTimeOffset time)
Parameters
timeDateTimeOffsetThe time to check, usually now.