Click or drag to resize

SecurIdV3TokenConvertV3TokenDate Method

Converts a SecurID® Version 3 date value (5 bytes) to a DateTime instance.

Namespace:  SamoyedSoftware.ursa
Assembly:  SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax
protected DateTime ConvertV3TokenDate(
	byte[] v3date
)

Parameters

v3date
Type: SystemByte
An array of bytes representing a date/time in the SecurID® Version 3 date format. See remarks section for details.

Return Value

Type: DateTime
A DateTime instance initialized to the date/time represented by v3date.
Remarks
In Version 3 tokens, the date is a count of "v3 ticks" since 1970-01-01. There are 337500 v3 ticks per day, or 3.90625 v3 ticks per second. The number of v3 ticks is stored as a 40-bit value (five bytes, big-endian order).
See Also