摘要: ExchangeServiceBinding esb = new ExchangeServiceBinding(); esb.Credentials = new NetworkCredential(username, password, domain); esb.Url = url; ServicePointManager.ServerCertificateValidationCallback += RemoteCertificateValidate; FindItemType fi... 阅读全文
posted @ 2013-01-27 08:52 启明星工作室 阅读(5470) 评论(0) 推荐(0) 编辑
摘要: 在Exchange2010及其以后,MS提供了Managed API来调用Exchange的接口下面代码演示了如何获取公共日历ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010); service.Credentials = new NetworkCredential("user", "password", "domain"); service.Url = new Uri(https://wwww.sohu.com/ews/exchang 阅读全文
posted @ 2013-01-27 08:43 启明星工作室 阅读(3282) 评论(0) 推荐(0) 编辑
摘要: 本文介绍如何使用EWS代理类调用Exchange的日历(1)首先生成代理类ExchangeServiceBinding _ExchangeBinding = new ExchangeServiceBinding(); _ExchangeBinding.Credentials = new NetworkCredential(username, password, domain); _ExchangeBinding.Url = Helper.GetWebconfig("exchangewebservice"); (2)定义请求的属性请注意:在定义请求属性时,一定... 阅读全文
posted @ 2013-01-27 08:30 启明星工作室 阅读(4600) 评论(2) 推荐(0) 编辑