CapyKit/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomPassword.md
Jordan Wages 87bd044b31 Settings Helper + Documentation
The `SettingsHelper` is an agnostic way to access settings values uniformly through code. The accessor methods are controlled by the consumer.

Documentation has been a bit wonky. I changed the max number of version number components allowed, so each new build should not create new changes on every single bit of documentation now.
2024-04-22 18:28:21 -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.0

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