win7操作系统下,程序中修改注册表,怎么获取权限

win7操作系统下,程序中修改注册表,如何获取权限
写的一个程序,要修改注册表,怎么在程序中获得管理员权限。


刚解决了,选择当前Project然后右击选择’Property’,在’Security栏选择’Enable ClickOnce Security Setting’然后修改app.manifest,把requestedExecutionLevel设置成<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />,取消选择’Enable ClickOnce Security Setting’

win7操作系统下,程序中修改注册表,怎么获取权限

相关文章:

你感兴趣的文章:

标签云: