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