Pimp my UAC and a few questions about it
问题 I have this application that need to do some things in protected paths (like %PROGRAMFILES%), I know that I should be using %APPDATA%, but I can't change that for now. I have isolated all the things that could require UAC to show up on another project, here's a sample code: using System; using System.Diagnostics; using System.IO; using System.Windows.Forms; class Class1 { static void Main(string[] args) { try { File.CreateText(Path.Combine(Application.StartupPath, "something.txt")); } catch