GetCode Method
GetCode(Int32)
Get the OTP code as a string representation of numeric digits.
C#
public string GetCode(int digits = 6)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | digits | The number of digits in the string (default is 6). |
Returns
System.String
A System.String representation of the OTP.