Vista的UAC,访问高程和.Net [英] Vista UAC, Access Elevation and .Net

查看:107
本文介绍了Vista的UAC,访问高程和.Net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找出是否有什么办法可以在应用程序中提升一个特定的功能。例如,我有一个存储在注册表中的系统和用户设置的应用程序,我只需要高程需要系统设置时进行更改。

I'm trying to find out if there is any way to elevate a specific function within an application. For example, I have an app with system and user settings that are stored in the registry, I only need elevation for when the system settings need to be changed.

不幸的是所有的信息我已经遇到谈到刚开始一个新的进程与提升的权限。

Unfortunately all of the info I've come across talks about only starting a new process with elevated privileges.

推荐答案

你真正需要做的是保存你的设置中的Application Data文件夹。

What you really need to do is store your settings the Application Data folder.

这篇关于Vista的UAC,访问高程和.Net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆