# GetRandomString(Int32) Method A convenience method to generate a random string of the specified length using all character sets. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# public static string GetRandomString( int length ) ``` **F#** ``` F# static member GetRandomString : length : int -> string ``` #### Parameters
  Int32
The desired length of the generated random string.
#### Return Value String \[Missing <returns> documentation for "M:CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32)"\] ## See Also #### Reference SecurityHelper Class GetRandomString Overload CapyKit.Helpers Namespace ValidCharacterCollection GetRandomString(Int32, ValidCharacterCollection[])