mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-11-12 19:23:36 -06:00
1.3 KiB
1.3 KiB
GetRandomPassword Method
Gets a cryptographically strong random password.
Definition
Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.2
C#
public static string GetRandomPassword(
int length,
params ValidCharacterCollection[] validCharacters
)
F#
static member GetRandomPassword :
length : int *
validCharacters : ValidCharacterCollection[] -> string
Parameters
- Int32
- The length of the password to generate.
- ValidCharacterCollection[]
- \[Missing <param name="validCharacters"/> documentation for "M:CapyKit.Helpers.SecurityHelper.GetRandomPassword(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])"\]
Return Value
String
The password.