Click or drag to resize

SecureRandomRandomString 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 static string RandomString(
	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