4AspNet Parole v1.1 Documentation

Parole.generatePassword Method ()

Returns the pronounceable password (3-11 chars length).

public string generatePassword();

Return Value

Example

This sample shows how to use the generatePassword method.

ForAspNet.Parole.License.LicenseKey = "<put license string here>";
Parole objParole = new Parole();
for(int i = 1; i< 10; i++)
    Console.WriteLine(objParole.generatePassword());
Console.WriteLine("Press Enter to exit...");
Console.ReadLine();

See Also

Parole Class | ForAspNet.Parole Namespace | Parole.generatePassword Overload List | String