C# 클래스 GSF.Security.Cryptography.PasswordGenerator

Generates random passwords.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
GeneratePassword ( ) : string

Generates a random password with 8 characters or MinLength if it is greater than 8 characters.

GeneratePassword ( int length ) : string

Generates a password with the given length.

GeneratePassword ( int minLength, int maxLength ) : string

Generates a password with length between the given minLength and maxLength.

PasswordGenerator ( ) : System

Creates a new instance of the PasswordGenerator class.

PasswordGenerator ( IEnumerable characterGroups ) : System

Creates a new instance of the PasswordGenerator class.

메소드 상세

GeneratePassword() 공개 메소드

Generates a random password with 8 characters or MinLength if it is greater than 8 characters.
public GeneratePassword ( ) : string
리턴 string

GeneratePassword() 공개 메소드

Generates a password with the given length.
public GeneratePassword ( int length ) : string
length int The length of the password to be generated.
리턴 string

GeneratePassword() 공개 메소드

Generates a password with length between the given minLength and maxLength.
public GeneratePassword ( int minLength, int maxLength ) : string
minLength int The minimum length of the generated password.
maxLength int The maximum length of the generated password.
리턴 string

PasswordGenerator() 공개 메소드

Creates a new instance of the PasswordGenerator class.
public PasswordGenerator ( ) : System
리턴 System

PasswordGenerator() 공개 메소드

Creates a new instance of the PasswordGenerator class.
public PasswordGenerator ( IEnumerable characterGroups ) : System
characterGroups IEnumerable The list of character groups used to generate passwords.
리턴 System