Am trying to add attachment to calendar object using the below code
MapiCalendar f_MapiCalendarObj = null;
byte[] array = File.ReadAllBytes(Attachment_Path);
f_MapiCalendarObj.Attachments.Add(“displayname”, array);
In this case after saving the appointment in PST file attachment size is showing the size of the attachment(Not the size on disk ).
In my case i have a very significant difference in size and size on disk.
Is there any way to set the size on disk value as attachment size after saving in PST ?