# GetRandomPassword Method Gets a cryptographically strong random password. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# public static string GetRandomPassword( int length, params ValidCharacterCollection[] validCharacters ) ``` **F#** ``` F# static member GetRandomPassword : length : int * validCharacters : ValidCharacterCollection[] -> string ``` #### Parameters