1
0
mirror of https://github.com/XFox111/SimpleOTP.git synced 2026-04-23 08:08:40 +03:00

Created OTPCode.OTPCode (markdown)

2021-05-31 17:02:01 +03:00
parent 207202d1bb
commit d90ed3eb97
+34
@@ -0,0 +1,34 @@
Namespace: `SimpleOTP`
Assembly: `SimpleOTP.dll`
## Overloads
| Overload | Description |
| --- | --- |
| [OTPCode()](#OTPCode) | Initializes a new instance of the `OTPCode` class. |
| [OTPCode(int)](#OTPCodeint) | Initializes a new instance of the `OTPCode` class. |
## OTPCode()
Initializes a new instance of the `OTPCode` class.
```csharp
public OTPCode();
```
### Returns
[OTPCode](https://github.com/XFox111/SimpleOTP/wiki/OTPCode).
---
## OTPCode(int)
Initializes a new instance of the `OTPCode` class.
```csharp
public OTPCode(int code);
```
### Parameters
`code` `Int32`
OTP code.
### Returns
[OTPCode](https://github.com/XFox111/SimpleOTP/wiki/OTPCode).
### Remarks
Use this constructor only for HOTP key. Otherwise, fill out all properties.