Show / Hide Table of Contents

GetCode Method

GetCode(int)

Get the OTP code as a string representation of numeric digits.

C#
public string GetCode(int digits = 6)

Parameters

Type Name Description
int digits

The number of digits in the string (default is 6).

Returns

string

A string representation of the OTP.

In this article
Back to top Generated by DocFX