Method | Description | |
---|---|---|
Generate ( ) : string |
Generates a random password. The length of the generated password will be determined at random. It will be no shorter than the minimum default and no longer than maximum default. |
|
Generate ( int length ) : string |
Generates a random password of the exact length.
|
|
Generate ( int minLength, int maxLength ) : string |
Generates a random password. The length of the generated password will be determined at random and it will fall with the range determined by the function parameters. |
public static Generate ( int length ) : string | ||
length | int | /// Exact password length. /// |
return | string |
public static Generate ( int minLength, int maxLength ) : string | ||
minLength | int | /// Minimum password length. /// |
maxLength | int | /// Maximum password length. /// |
return | string |