修改Google日历后,您是否收到日历中的任何信号?
如果是的话,方法是什么?请帮帮我:)。
public IList<Event> CalendarLoad(string username="", string userid="", string userpassword="")
{
scopes.Add(CalendarService.Scope.Calendar);
UserCredential credential;
using (FileStream stream = new FileStream("client_secrets.json", FileMode.Open, FileAccess.Read))
{
credential = GoogleWebAuthorizationBroker.AuthorizeAsync(
GoogleClientSecrets.Load(stream).Secrets, scopes, username, CancellationToken.None,
new FileDataStore("Calendar.VB.Sample")).Result;
}