Method | Description | |
---|---|---|
Email ( ) : string |
Gets an email address
|
|
Password ( ) : string |
Gets a random password Random length and number of special characters
|
|
Password ( int numberOfSpecialChars ) : string |
Gets a random password. Will create a password 5 - 20 characters
|
|
Password ( int length, bool useSpecialChars ) : string |
Gets a random password
|
|
Password ( int length, int numberOfSpecialChars ) : string |
Gets a random password
|
|
Username ( ) : string |
Gets a random username
|
Method | Description | |
---|---|---|
GeneratePassword ( int length, int nonAlphaNumericChars ) : string |
Generate password method
|
public static Password ( int numberOfSpecialChars ) : string | ||
numberOfSpecialChars | int | Number of special characters |
return | string |
public static Password ( int length, bool useSpecialChars ) : string | ||
length | int | Length of password |
useSpecialChars | bool | Use special characters. If true, random number of characters |
return | string |
public static Password ( int length, int numberOfSpecialChars ) : string | ||
length | int | Length of password |
numberOfSpecialChars | int | Number of special characters to use |
return | string |