5

I'm using the excellent DDay.iCal to read iCal files from Google Calendar.

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

How do I add this to the DDay.iCal.iCalendar.Calendar object?

user956731
  • 123
  • 6

1 Answers1

6

This is how I do it... don't know if it's the right way, but it works for me.

var iCal = new iCalendar();
iCal.Method = CalendarMethods.Publish;
iCal.AddLocalTimeZone();
iCal.AddProperty("X-WR-CALNAME", "Calendar Name");
wraithshade
  • 61
  • 1
  • 3