StringExt.RandomString Method

Creates a random string.

Namespace: UltimateXR.Extensions.System
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static string RandomString(
	int length,
	bool includeLetters,
	bool includeNumbers
)

Parameters

 

length
Type: System.Int32
String length
includeLetters
Type: System.Boolean
Include letters in the string?
includeNumbers
Type: System.Boolean
Include numbers in the string?

Return Value

Type: String
Random string with given length or Empty if no letters and number were specified

See Also

Reference

StringExt Class
UltimateXR.Extensions.System Namespace