In the example C# code below, I cannot compile {VS 2005} because
the type or Namespace "NetworkCredential" could not be found.
I'm using Google.GData.Client.
What is required to create a network credential for authorization?
// Create a query and service object:
FeedQuery query = new FeedQuery();
Service service = new Service("cl", "exampleCo-exampleApp-1"));
// Set your credentials:
NetworkCredential nc = new NetworkCredential("[EMAIL PROTECTED]",
"mypassword");
service.Credentials = nc;
// Create the query object:
query.Uri = new Uri("http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/
private/full");
// Tell the service to query:
AtomFeed calFeed = service.Query(query);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---