CapyKit/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomPassword.md
2024-09-04 19:31:43 -05:00

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.

See Also

Reference

SecurityHelper Class
CapyKit.Helpers Namespace