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

Created OTPConfiguration.GetFancySecret (markdown)

2021-06-01 15:42:48 +03:00
parent 12f9fcc740
commit e3c2fc432b
+17
@@ -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
```