Пример #1
0
 public static void Delete(string path)
 {
     SHFILEOPSTRUCT shf = new SHFILEOPSTRUCT();
     shf.wFunc = FO_DELETE;
     shf.fFlags = FOF_ALLOWUNDO | FOF_NOCONFIRMATION;
     shf.pFrom = path;
     SHFileOperation(ref shf);
 }
Пример #2
0
 public static extern int SHFileOperation(ref SHFILEOPSTRUCT FileOp);
Пример #3
0
 public static extern int SHFileOperation(ref SHFILEOPSTRUCT FileOp);