CapyKit/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomString_1.md

1.5 KiB

GetRandomString(Int32, ValidCharacterCollection[]) Method

Gets a cryptographically strong random string using the character values found in [!:VALID_CHARACTERS].

Definition

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

C#

public static string GetRandomString(
	int length,
	params ValidCharacterCollection[] validChars
)

F#

static member GetRandomString : 
        length : int * 
        validChars : ValidCharacterCollection[] -> string 

Parameters

  Int32
The length of the string to create.
  ValidCharacterCollection[]
\[Missing <param name="validChars"/> documentation for "M:CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])"\]

Return Value

String
The random string.

See Also

Reference

SecurityHelper Class
GetRandomString Overload
CapyKit.Helpers Namespace