Candy.Updater.CandyUpdater.DeleteFile C# (CSharp) Method

DeleteFile() private static method

private static DeleteFile ( string path ) : void
path string
return void
        private static void DeleteFile(string path)
        {
            if (File.Exists(path))
            {
                File.SetAttributes(path, File.GetAttributes(path) & ~FileAttributes.ReadOnly);
                File.Delete(path);
            }
        }