CapyKit/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomPassword.md

1.3 KiB

GetRandomPassword Method

Gets a cryptographically strong random password.

Definition

Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d

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