哪些操作或功能需要C#中的管理员权限 [英] What operations or functions require admin rights in C#

查看:166
本文介绍了哪些操作或功能需要C#中的管理员权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我们目前正在开发winforms应用程序。为方便安装,WYUpdate等我们已要求用户将管理员权限作为先决条件。但现在公司希望我们确保应用程序可以在标准用户配置文件上运行。安装和升级将由管理员用户完成。我已在标准用户帐户上测试了该应用程序,它运行良好。







我想知道什么可能是C#中需要管理员权限的操作或函数??

Hi All,

We are currently working on winforms application. To facilitate installation,WYUpdate etc we have requested the user to have admin rights as a prerequisite. But now the company wants us to make sure that the application can run on standard user profiles. The installation and upgrade will be done by admin user. I have tested the application on standard user account it works well.



I want to know what could be the operations or functions in C# that require admin rights??

推荐答案

我不确定是否有人可以列出所有需要管理员权限的操作。正如所说,安全是安全的 [ ^ ] ...



有几项操作需要管理员权限,例如对文件和注册表的一些操作。请阅读:了解Windows文件和注册表权限 [ ^ ]
I'm not sure is there anyone who can list all operations which require admin rights... As it has been said, security is security[^]...

There are several operations that requires admin rights, for example some operations on files and registry. Please, read this: Understanding Windows File And Registry Permissions[^]


这篇关于哪些操作或功能需要C#中的管理员权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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