kspearrin / Otp.NET

A .NET implementation of TOTP and HOTP for things like two-factor authentication codes.
https://www.nuget.org/packages/Otp.NET
MIT License
1.08k stars 164 forks source link

`question:` can you give an example on how to use `timeWindowUsed` #41

Open luizhlelis opened 1 year ago

luizhlelis commented 1 year ago

[question]

Hello everyone. @kspearrin thank you for your contribution to the community. Can you (or anyone else) give me an example of how to use timeWindowUsed to check if the code has already been used? I know that there is a section about that, but there is no code example.