In C# you can actually disable UAC with this following bunch of code:
RegistryKey uac = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System",true);
if (uac == null)
{
uac = Registry.CurrentUser.CreateSubKey(("Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
}
uac.SetValue("EnableLUA", 1);
uac.Close();
But beside that, there isn't any other way of "removing" User Account Control for specific applications. Also, as Jason Dot Wang say here:
Link msdn[
^] you should proof your applications against the UAC, rather then trying to disable it.