public static void UpdateContactPhoto(ContactsRequest cr, Uri contactURL, Stream photoStream) { Contact contact = cr.Retrieve(contactURL); try { cr.SetPhoto(contact, photoStream); } catch (GDataVersionConflictException e) { // Etags mismatch: handle the exception. } }