1
0
mirror of https://github.com/XFox111/SimpleOTP.git synced 2026-04-22 08:00:45 +03:00

Created OTPCode.GetCode (markdown)

2021-05-31 17:05:32 +03:00
parent d90ed3eb97
commit 5acf5bddaa
+15
@@ -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.