mirror of
https://github.com/XFox111/SimpleOTP.git
synced 2026-04-23 08:08:40 +03:00
Created OTPCode.OTPCode (markdown)
@@ -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.
|
||||||
Reference in New Issue
Block a user