I'm trying to get the 'normal' url for a users default calendar feed (e.g. http://www.google.com/calendar/feeds/[email protected]/private/full). I would like to use the [email protected] part of the URL as a unique ID for that calendar.
I know I can do things with the default calendar using the URL http://www.google.com/calendar/feeds/default/private/full. However, I can't find a way to construct a CalendarEntry from that URL (I could then try SelfUri and some other properties to see if the 'normal' url is in there somewhere), or to convert it to the 'normal' url in any way.
And I know I can get the list of Calendars like this:
CalendarQuery query_cal = new CalendarQuery();
query_cal.Uri = new Uri( "http://www.google.com/calendar/feeds/default/allcalendars/full" );
CalendarFeed resultFeed = (CalendarFeed) service.Query( query_cal );
foreach ( CalendarEntry entry in resultFeed.Entries )
{ ... }
However, I can't find any way to know which of those entries matches the default calendar.
Or any other way to get that normal url for the default calendar.