summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Spearrin <kspearrin@users.noreply.github.com>2017-05-10 14:02:53 -0400
committerGitHub <noreply@github.com>2017-05-10 14:02:53 -0400
commit691b73e6212f1e98a973e3eb3e9582101ba2c200 (patch)
tree69a20ff3c574e9095879169db0fee1c6b86962ad
parent6de5b8d523cd8551fc2b192e41d39aaad533710b (diff)
parent204747f437bcd6280fbcb911a3d9133578a66025 (diff)
downloadOtp.NET-691b73e6212f1e98a973e3eb3e9582101ba2c200.zip
Otp.NET-691b73e6212f1e98a973e3eb3e9582101ba2c200.tar.gz
Otp.NET-691b73e6212f1e98a973e3eb3e9582101ba2c200.tar.bz2
Merge pull request #2 from ErazerBrecht/patch-1
Update README.md
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index a172a81..f137138 100644
--- a/README.md
+++ b/README.md
@@ -72,8 +72,8 @@ var remainingSeconds = totp.RemaininSeconds(DateTime.UtcNow);
The TOTP implementation provides a mechanism for verifying TOTP codes that are passed in. There is a method called VerifyTotp with an overload that takes a specific timestamp.
```c#
-public bool VerifyTotp(int totp, out long timeWindowUsed, VerificationWindow window = null);
-public bool VerifyTotp(DateTime timestamp, int totp, out long timeWindowUsed, VerificationWindow window = null)
+public bool VerifyTotp(string totp, out long timeWindowUsed, VerificationWindow window = null);
+public bool VerifyTotp(DateTime timestamp, string totp, out long timeWindowUsed, VerificationWindow window = null)
```
If the overload that doesn't take a timestamp is called, DateTime.UtcNow will be used as the comperand.