From cad6c8c02f48b772479bdd53ce17581b36eff7cc Mon Sep 17 00:00:00 2001 From: Anubhav Ranjan Date: Mon, 18 Jul 2022 23:49:50 +0530 Subject: [PATCH] Updated Readme Corrected namespace use from Totp to TotpAuth --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 97a0530..9f7db48 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,12 @@ TotpAuth.Authenticator.GenerateKey() // Example: 5PC4TPFPQPX7HPOS // Generate OTP -var totp = new Totp.Authenticator(); +var totp = new TotpAuth.Authenticator(); totp.GetCode("SECRETKEY"); // Example: 788644 // Validate Code -var totp = new Totp.Authenticator(); +var totp = new TotpAuth.Authenticator(); totp.CheckCode("5PC4TPFPQPX7HPOS", "788644"); // Example: true