From e3c2fc432b00e51be8eb566cb3332f03a01acd91 Mon Sep 17 00:00:00 2001 From: Eugene Fox Date: Tue, 1 Jun 2021 15:42:48 +0300 Subject: [PATCH] Created OTPConfiguration.GetFancySecret (markdown) --- OTPConfiguration.GetFancySecret.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 OTPConfiguration.GetFancySecret.md diff --git a/OTPConfiguration.GetFancySecret.md b/OTPConfiguration.GetFancySecret.md new file mode 100644 index 0000000..0b975ac --- /dev/null +++ b/OTPConfiguration.GetFancySecret.md @@ -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 +``` \ No newline at end of file