I am trying the below code but it always gave me the same exception...
using Google calender api v3
using Google.GData.Client;
using Google.GData.Extensions;
using Google.GData.Calendar;
Google.GData.Calendar.CalendarService calendarService = new Google.GData.Calendar.CalendarService("App name");
calendarService.setUserCredentials("username@gmail.com", "password");
CalendarQuery query = new CalendarQuery();
query.Uri = new Uri("https://www.google.com/calendar/feeds/default/allcalendars/full");
CalendarFeed resultFeed = (CalendarFeed)calendarService.Query(query);
Console.WriteLine("Your calendars:\n");
foreach (CalendarEntry entry in resultFeed.Entries)
{
Console.WriteLine(entry.Title.Text + "\n");
}
help me!