Click or drag to resize

SecurIdTokenLoad Method

Loads the string representation of a SecurID® token from a file, and calls Parse(String, Int32) to convert it to an instance of one of the classes derived from SecurIdToken. If the file is in the sdtid format and contains more than one token, the first token is parsed.

Namespace:  SamoyedSoftware.ursa
Assembly:  SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax
public static SecurIdToken Load(
	string filename
)

Parameters

filename
Type: SystemString
The path of the file containing the SecurID® token.

Return Value

Type: SecurIdToken
An instance of one of the classes derived from SecurIdToken. See Parse(String, Int32) for details.
Exceptions
ExceptionCondition
ursaExceptionThrown if the file can not be read or if its contents cannot be parsed. See ursaExceptionErrorCode for the specific reason for the failure.
See Also