public static string GetNewPassword (int passwordLength, bool excludeSpecialCharacters) { Password pw = new Password (passwordLength); pw.ExcludeSymbols = true; return pw.Generate (); }
public static string GetNewPassword (int passwordLength, string exclusions) { Password pw = new Password (passwordLength); pw.Exclusions = exclusions; return pw.Generate (); }