| SecureRandomiRandomString Method  | 
 
 Generates random string containing alfanumeric characters and optionally special characters.
 
 
    Namespace: 
   TreeksLicensingLibrary2
    Assembly:
   TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
 Syntax
Syntaxpublic string iRandomString(
	int length,
	bool AddSpecialChars = false
)
Public Function iRandomString ( 
	length As Integer,
	Optional AddSpecialChars As Boolean = false
) As String
public:
String^ iRandomString(
	int length, 
	bool AddSpecialChars = false
)
member iRandomString : 
        length : int * 
        ?AddSpecialChars : bool 
(* Defaults:
        let _AddSpecialChars = defaultArg AddSpecialChars false
*)
-> string 
Parameters
- length
- Type: SystemInt32
 Requested length of random string
- AddSpecialChars (Optional)
- Type: SystemBoolean
 Determines, if random string should contain special characters also.
Return Value
Type: 
StringRandomly generated string
 Remarks
RemarksThe "i" named functions are here to allow access to static members in COM applications. In .NET applications you can call static methods directly and don't need to instantiate this class.
 See Also
See Also