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