Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 783 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 783 Bytes

totp-net

a little totp c# library + GUI with google authenticator conform QR-Code generation.

Quickstart

Generate the Actual code for the Secret GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ. The secret has to be base32 encoded. In this Example t1 is set to 30sec and we will get a 8 digit long code.

string secret = "GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ";
Totp totp = new Totp(secret,30,8);
string totpCode = totp.getCodeString();

Resorces

Used Librarys and Classes