[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: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public string NextRandomWebSafeString(
int minLength = 16,
int maxLength = 32
)
public string NextRandomWebSafeString(
int minLength = 16,
int maxLength = 32
)
Public Function NextRandomWebSafeString (
Optional minLength As Integer = 16,
Optional maxLength As Integer = 32
) As String
Public Function NextRandomWebSafeString (
Optional minLength As Integer = 16,
Optional maxLength As Integer = 32
) As String
public:
String^ NextRandomWebSafeString(
int minLength = 16,
int maxLength = 32
)
public:
String^ NextRandomWebSafeString(
int minLength = 16,
int maxLength = 32
)
member NextRandomWebSafeString :
?minLength : int *
?maxLength : int
(* Defaults:
let _minLength = defaultArg minLength 16
let _maxLength = defaultArg maxLength 32
*)
-> string
member NextRandomWebSafeString :
?minLength : int *
?maxLength : int
(* Defaults:
let _minLength = defaultArg minLength 16
let _maxLength = defaultArg maxLength 32
*)
-> string
Return Value
Type:
String