blob: f0b7d8090d021de8123e9c28ef66ab7aca43cb1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WinKeyRecover.Saver
{
internal class SaveAsTxt : ISaver
{
public void Save(List<List<string>> keysFound)
{
string fileName = Environment.GetEnvironmentVariable("userprofile") + "\\Desktop\\keys.txt";
StreamWriter writer = new StreamWriter(fileName);
writer.WriteLine("Clés trouvées: ");
for (int i = 0; i < keysFound.Count; i++)
{
writer.WriteLine(keysFound[i][0] + " Version: " + keysFound[i][1]);
}
writer.Close();
}
}
}
|