C# Class WhiteCore.Framework.Utilities.Utilities.RandomPassword

Mostra file Open project: WhiteCoreSim/WhiteCore-Dev

Public Methods

Method Description
Generate ( int numSyllables, int numNumeric, int numSymbols ) : string

Generates a random, human-readable password.

Private Methods

Method Description
MakeNumeric ( ) : char
MakeSyllable ( ) : string
MakeSymbol ( ) : char

Method Details

Generate() public static method

Generates a random, human-readable password.
public static Generate ( int numSyllables, int numNumeric, int numSymbols ) : string
numSyllables int Number of syllables the password will contain
numNumeric int Number of numbers the password will contain
numSymbols int Number of symbols the password will contain
return string