c.Photo = new MapiContactPhoto(data, format); /* data is File.ReadAllBytes, format is the one corresponding to the selected photo generally MapiContactPhotoImageFormat.Jpeg/
Please use the GetContacts method of IEWSClient to fetch and update contacts on the server. The ListContacts method is no more recommended and will soon be marked as deprecated. The following code sample will give you idea about working with Contacts on Exchange server.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.