ExternalRandomGenerator NextRandomWebSafeString Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Generates a random string of chars which are safe for the use on the web - a string that only contains "a-z"/"A-Z" and "0-9" and "-"/"_" chars, i.e.: "bo7O0EFasZe-wEty9w0__JiOKk81". The length of the string can not be less than 4 and more than 1024 chars

Namespace: NFX
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public string NextRandomWebSafeString(
	int minLength = 16,
	int maxLength = 32
)

Return Value

Type: OnlineString
See Also