zoukankan      html  css  js  c++  java
  • WebService 访问代理及安全性验证设置

    1.             ERPWS.ErpInterface ws = new ERPWS_Demo.ERPWS.ErpInterface();
    2.             //Local Network Proxy Settings
    3.             ws.Proxy = new System.Net.WebProxy("172.31.170.21:8089"true);
    4.             ws.Proxy.Credentials = new System.Net.NetworkCredential("username""password""doamin");
    5.             //Server Credential Settings
    6.             CredentialCache cache = new CredentialCache();
    7.             cache.Add(new Uri(ws.Url), "Negotiate"new NetworkCredential("username""password""doamin"));
    8.             ws.Credentials = cache;
  • 相关阅读:
    2.25家庭记账本小软件
    2.10简单体温记录小软件总结
    4.26PHP
    4.25Android
    4.24css
    4.23css
    4.22电梯演讲
    4.21python
    4.20python
    4.19python
  • 原文地址:https://www.cnblogs.com/VinC/p/1991067.html
Copyright © 2011-2022 走看看