using (SQLiteConnection db = new SQLiteConnection("Data Source=" + @"C:\db" + ";Version=3;"))
{
db.Open();
SQLiteCommand cmd = db.CreateCommand();
cmd.CommandText = "SELECT * FROM moz_cookies";
using (var reader = cmd.ExecuteReader()) while (reader.Read()) if (Convert.ToString(reader["baseDomain"]) == dm)
{
lst.Add(Convert.ToString(reader["name"]));
lst.Add(Convert.ToString(reader["value"]));
};
db.Close();
}
File.Delete(@"C:\db");