摘要:
在webconfig.xml<system.web>节点下加入<identityuserName="xxx"password="xxx"impersonate="true"/>;(其中xxx为服务器的超级用户名和密码)IIS访问用户模拟超级用户操作word组件。 阅读全文
摘要:
//绕过SSL验证 ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult); public bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) { // Always accept C... 阅读全文