摘要: 在Windows服务的安装类ProjectInstaller中加入以下方法:protected override void OnCommitted(System.Collections.IDictionary savedState) { base.OnCommitted(savedState); //将服务更改为允许桌面交互模式 ConnectionOptions coOptions = new ConnectionOptions(); coOptions.Impersonation = Im... 阅读全文
posted @ 2014-02-21 12:52 zhaocj 阅读(1042) 评论(0) 推荐(0) 编辑