bin neu in diesem bereich hab aber etwas grunderfahrung mit java etc
bin gerade dabei mit c# was gegen das gema virus zu coden
soweit klappt alles aber da die gema.exe in nem systemordner ist (%AppData%) hab ich ein exeption problem
hier mein teilcode
try
{
Process firefox = Process.GetProcessesByName(“gema”)[0];
firefox.Kill();
}
catch { }
string user = System.Environment.UserName;
string path = @"c:\user\" + user + @"\AppData\Roaming\";
string[] folders = System.IO.Directory.GetDirectories(path);
path = folders[0] + @"\";
string path1 = path + "gema.exe";
bin schon mal soweit gekommen das ich nun weiß dass ich es per Environment.GetFolderPath-Methode machen muss hab aber kein plan wie ich das machen soll kann mir bitte wer helfen