访问网络服务时是否需要设置networkCredential域?
var service = new service1.SoapEx();
service.Credentials = new NetworkCredential("user", "password", "domain");
或者我能做到:
var service = new service1.SoapEx();
service.Credentials = new NetworkCredential("user", "password");
由于