Click or drag to resize

SecurIdTokenComputeTokencode Method (DateTime, String)

Computes the tokencode for a given date/time, using the specified PIN value.

Namespace:  SamoyedSoftware.ursa
Assembly:  SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax
public string ComputeTokencode(
	DateTime time,
	string pin
)

Parameters

time
Type: SystemDateTime
The date/time for which the tokencode will be computed.
pin
Type: SystemString
The PIN for the token, if required to compute the tokencode.

Return Value

Type: String
A string containing the tokencode for the supplied date/time.
Exceptions
ExceptionCondition
ursaExceptionThrown if the tokencode cannot be computed. See ursaExceptionErrorCode for the specific reason for the failure.
See Also