summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.