mirror of
https://github.com/XFox111/SimpleOTP.git
synced 2026-04-23 08:08:40 +03:00
Created OTPCode.GetCode (markdown)
@@ -0,0 +1,15 @@
|
|||||||
|
Namespace: `SimpleOTP`
|
||||||
|
|
||||||
|
Assembly: `SimpleOTP.dll`
|
||||||
|
|
||||||
|
Gets valid 6 digit or more OTP code.
|
||||||
|
```csharp
|
||||||
|
public string GetCode(string formatter = "000000");
|
||||||
|
```
|
||||||
|
### Parameters
|
||||||
|
`formatter` `string`
|
||||||
|
|
||||||
|
String formatter. Other variation: `"000 000"`
|
||||||
|
|
||||||
|
### Returns
|
||||||
|
Formatted OTP code string with 6 or more digits.
|
||||||
Reference in New Issue
Block a user