Method | Description | |
---|---|---|
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 |
Creates a new instance of the PasswordGenerator class.
|
public GeneratePassword ( int length ) : string | ||
length | int | The length of the password to be generated. |
return | string |
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. |
return | string |
public PasswordGenerator ( IEnumerable |
||
characterGroups | IEnumerable |
The list of character groups used to generate passwords. |
return | System |