Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
您需要使用诸如提升权限
WindowsIdentity Identity = new WindowsIdentity(accessToken); 之类的方法WindowsImpersonationContext 上下文=identity.Impersonate();
参见线程:以编程方式提升进程权限?
you need to use something like elevating privilege
WindowsIdentity identity = new WindowsIdentity(accessToken);WindowsImpersonationContext context = identity.Impersonate();
see thread:Elevating process privilege programmatically?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
您需要使用诸如提升权限
WindowsIdentity Identity = new WindowsIdentity(accessToken); 之类的方法
WindowsImpersonationContext 上下文=identity.Impersonate();
参见线程:
以编程方式提升进程权限?
you need to use something like elevating privilege
WindowsIdentity identity = new WindowsIdentity(accessToken);
WindowsImpersonationContext context = identity.Impersonate();
see thread:
Elevating process privilege programmatically?