Click or drag to resize

SecureRandomiRandomString Method

Generates random string containing alfanumeric characters and optionally special characters.

Namespace:  TreeksLicensingLibrary2
Assembly:  TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax
public string iRandomString(
	int length,
	bool AddSpecialChars = false
)

Parameters

length
Type: SystemInt32
Requested length of random string
AddSpecialChars (Optional)
Type: SystemBoolean
Determines, if random string should contain special characters also.

Return Value

Type: String
Randomly generated string
Remarks
The "i" named functions are here to allow access to static members in COM applications. In .NET applications you can call static methods directly and don't need to instantiate this class.
See Also