public void DeleteFile(string path) { if (File.Exists(path)) { SetAttributes(path, FileAttributes.Normal); File.Delete(path); } }