Get a random string made of 'len' alphanumeric characters, both uppercase and lowercase, with numbers and symbols.
If 'withSpaces' then the resulting string may contain one or more spaces.
Namespace: LLCryptoLib.UtilsAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static string GetEx(
int len,
bool withSpaces
) |
Visual Basic |
---|
Public Shared Function GetEx ( _
len As Integer, _
withSpaces As Boolean _
) As String |
Visual C++ |
---|
public:
static String^ GetEx(
int len,
bool withSpaces
) |
Parameters
- len
- Type: System..::..Int32
The length of the random generated string.
- withSpaces
- Type: System..::..Boolean
if set to true the generated string will contain one or more spaces.
Return Value
A random generated string.
See Also