| SecurIdTokenParse Method (String, Int32) |
Converts the string representation of a SecurID® token to an instance of one of the classes derived from
SecurIdToken. If the string is in the sdtid format and contains more than one token, the
tokenNumber parameter specifies which token will be parsed.
Namespace:
SamoyedSoftware.ursa
Assembly:
SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax public static SecurIdToken Parse(
string token,
int tokenNumber
)
Public Shared Function Parse (
token As String,
tokenNumber As Integer
) As SecurIdToken
public:
static SecurIdToken^ Parse(
String^ token,
int tokenNumber
)
static member Parse :
token : string *
tokenNumber : int -> SecurIdToken
Parameters
- token
- Type: SystemString
String containing a representation of a SecurID® token. The string may be in any of the following formats: sdtid, version 2, or version 3. - tokenNumber
- Type: SystemInt32
Specifies which token will be parsed, if the string is in the sdtid format. This value is ignored if the string is not in sdtid format.
Return Value
Type:
SecurIdTokenAn instance of one of the classes derived from
SecurIdToken. See remarks section for details.
Exceptions Remarks
The value return by this method is an instance of one of the following classes derived from
SecurIdToken:
See Also