I am using the following code to create random passwords (not my code)
public static string RandomPassword(int PasswordLength) {
string _allowedChars = "ACDEFGHJKLMNPQRTWXYZ12345679";
Byte[] randomBytes = new Byte[PasswordLength];
char[] chars = new char[PasswordLength];
int allowedCharCount = _allowedChars.Length;
Random randomObj = new Random();
for(int i = 0;i