C# 클래스 cyberh0me.Security.Authentication.OTP

파일 보기 프로젝트 열기: cyberh0me/OTP 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Generate string
HmacSha1 byte[]
Revers byte[]

공개 메소드들

메소드 설명
IsValid ( string totp ) : bool
OTP ( string key ) : System
QRCode ( string key, string label, int width = 150, int height = 150 ) : WriteableBitmap

비공개 메소드들

메소드 설명
Generate ( ) : string
HmacSha1 ( byte value ) : byte[]
Revers ( byte src ) : byte[]

메소드 상세

IsValid() 공개 메소드

public IsValid ( string totp ) : bool
totp string
리턴 bool

OTP() 공개 메소드

public OTP ( string key ) : System
key string
리턴 System

QRCode() 공개 메소드

public QRCode ( string key, string label, int width = 150, int height = 150 ) : WriteableBitmap
key string
label string
width int
height int
리턴 Windows.UI.Xaml.Media.Imaging.WriteableBitmap