Adding X-WR-CALNAME to DDay.iCal.iCalendar.Calendar

I use the excellent DDay.iCal to read iCal files from Google Calendar.

Each iCal file has a non-standard X-WR-CALNAME property.

How to add this to a DDay.iCal.iCalendar.Calendar object?

+4
source share
1 answer

This is how I do it ... I don’t know if this is right, but it works for me.

var iCal = new iCalendar();
iCal.Method = CalendarMethods.Publish;
iCal.AddLocalTimeZone();
iCal.AddProperty("X-WR-CALNAME", "Calendar Name");
+5
source

Source: https://habr.com/ru/post/1536815/


All Articles