mirror of
https://github.com/XFox111/SimpleOTP.git
synced 2026-04-22 08:00:45 +03:00
Created OTPConfiguration.GetFancySecret (markdown)
@@ -0,0 +1,17 @@
|
||||
Namespace: `SimpleOTP.Models`
|
||||
|
||||
Assembly: `SimpleOTP.dll`
|
||||
|
||||
Returns secret key separated with whitespaces on groups of 4.
|
||||
```csharp
|
||||
public string GetFancySecret();
|
||||
```
|
||||
|
||||
### Returns
|
||||
Formatted secret key string.
|
||||
|
||||
### Example
|
||||
```csharp
|
||||
OTPConfiguration config = OTPConfiguration.GetConfiguration("ESQVTYRM2CWZC3NX24GRRWIAUUWVHWQH", "FoxDev Studio", "eugene@xfox111.net");
|
||||
Console.WriteLine(config.GetFancySecret()); // ESQV TYRM 2CWZ C3NX 24GR RWIA UUWV HWQH
|
||||
```
|
||||
Reference in New Issue
Block a user