Hi,
When I’m using the next code, the output Ics is different from the original. (I’ve attached them)
1. “The organizer createed this meeting in the following time zone: Asia/jerusalem” - is being addedf
2. A Calendar window is being added.
This is the code:
string strAppointmentBase64String = “”;
using (FileStream fIn = File.OpenRead(“before.ics”))
{
Appointment appointment = Appointment.Load(fIn);
using (MemoryStream ms = new MemoryStream())
{
appointment.Save(ms);
strAppointmentBase64String = Convert.ToBase64String(ms.ToArray());
}
}
Appointment appointmentNew = null;
using (MemoryStream ms =
new MemoryStream(Convert.FromBase64String(strAppointmentBase64String)))
{
appointmentNew = Appointment.Load(ms);
}
appointmentNew.Save(“after.ics”);
Please your help,
Thanks,
Roi