StringExtensions.RandomAscii Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

RandomAscii(Int32, Int32, Int32, Int32, Int32, Boolean)

Generates a random ascii string.

public static string RandomAscii(int length, int digits = 0, int lowers = 0, int uppers = 0, int specials = 0, bool ambiguous = false)

Parameters

length
System.Int32
digits
System.Int32
lowers
System.Int32
uppers
System.Int32
specials
System.Int32
ambiguous
System.Boolean

Returns

System.String

A random string.