void PrintAutoLogin() { try { Beaprint.MainPrint("Looking for AutoLogon credentials"); bool ban = false; Dictionary <string, string> autologon = UserInfoHelper.GetAutoLogon(); if (autologon.Count > 0) { foreach (KeyValuePair <string, string> entry in autologon) { if (!string.IsNullOrEmpty(entry.Value)) { if (!ban) { Beaprint.BadPrint(" Some AutoLogon credentials were found"); ban = true; } Beaprint.AnsiPrint(string.Format(" {0,-30}: {1}", entry.Key, entry.Value), ColorsU()); } } if (!ban) { Beaprint.NotFoundPrint(); } } else { Beaprint.NotFoundPrint(); } } catch (Exception ex) { Beaprint.PrintException(ex.Message); } }