Detected 1 occurrence(s) of ‘default\s*credentials’: ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013); service.UseDefaultCredentials = true; service.AutodiscoverUrl(emailAccount, RedirectionUrlValidationCallback); NameResolutionCollection coll = service.ResolveName(searchStr, ResolveNameSearchLocation.DirectoryThenContacts, true); Source: http://pastebin.com/raw.php?i=88pacZzf
↧