A quick and easy-to-install ASP.NET CAPTCHA

HIPCodeGenerator.Generate Method (Int32, Int32)

Collapse All

Generates a random password.

Syntax

Visual Basic
Shared  OverloadsPublic Function Generate( _ 
   ByVal minLength As Integer, _ 
   ByVal maxLength As Integer _ 
) As String
C#
public static string Generate(
   int minLength,
   int maxLength
);
C++
public: static String* Generate(
   int minLength,
   int maxLength
);
JScript
public static function Generate(
   int minLength,
   int maxLength
): String;

Parameters

minLength
Minimum password length.
maxLength
Maximum password length.

Return Value

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

HIPCodeGenerator Class | Clearscreen.SharpHIP Namespace | HIPCodeGenerator.Generate Overload List