RandomPasswordGenerate Method (Int32, Int32) |
Generates a random password.
Namespace:
NetQuarry.Security
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string Generate(
int minLength,
int maxLength
)
Public Shared Function Generate (
minLength As Integer,
maxLength As Integer
) As String
Parameters
- minLength
- Type: SystemInt32
Minimum password length.
- maxLength
- Type: SystemInt32
Maximum password length.
Return Value
Type:
String
Randomly generated password.
Remarks
The length of the generated password will be determined at
random and it will fall with the range determined by the
function parameters.
See Also