Candy.Updater.CandyUpdater.DeleteFile C# (CSharp) 메소드

DeleteFile() 개인적인 정적인 메소드

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