Version 0.1

Rating: No reviews yet
Downloads: 123
Released: Mar 15, 2008
Updated: Mar 18, 2008 by larsbeck
Dev status: -not yet defined by owner-

Recommended Download

Application Version 0.1 Library
application, 144K, uploaded Mar 15, 2008 - 123 downloads

Release Notes

Here is what you need to do to get started:

- Create a new project in Visual Studio
- Add a reference to either the assembly you downloaded or to this project
- Add a reference to Microsoft.Xml.Schema.Linq.dll (it is included in the download, or you can download it from here: http://www.microsoft.com/downloads/details.aspx?FamilyID=a45f58cd-fcfc-439e-b735-8182775560af&displaylang=en)
- Add these 3 using directives:
using www.w3.org.Item2005.Atom;
using schemas.google.com.g.Item2005;
using System.Linq;

-Get a valid auth code from Google by calling:
feed myFeed;
CaptchaInfo captchaInfo = null;
AuthCodeCreateStatus status;
string username = "your_username";
string passwd = "your_password";
string authcode;
authcode=feed.getAuthCode(username, passwd, out status, ref captchaInfo, null);

- Add these lines of code to get an instance of your feed:
int maxResults=int.MaxValue;
myFeed = feed.getContactsFeed(username, authCode, maxResults, false);

- You can now use LINQ to query your contacts like in the following statement:
var contacts = from c in myFeed.entry
select c;

Reviews for this release

No reviews yet for this release.