public bool DeleteFile(string FilePath) { return(Shell32.FileOperation(FilePath, FileOperationType.Delete, 0) == 0); }