Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public static extern int SHFileOperation(ref SHFILEOPSTRUCT FileOp);
Exemplo n.º 3
0
 public static extern int SHFileOperation(ref SHFILEOPSTRUCT FileOp);