public static void DownloadPhoto(ContactsRequest cr, Uri contactURL) { Contact contact = cr.Retrieve(contactURL); Stream photoStream = cr.GetPhoto(contact); FileStream outStream = File.OpenWrite("test.jpg"); byte[] buffer = new byte[photoStream.length]; photoStream.Read(buffer, 0, photoStream.length); outStream.Write(buffer, 0, photoStream.length); photoStream.Close(); outStream.Close(); }