C#

Xbox Live GamerCard .net class (C#)

A friend of mine; Dan Strandberg put together a nice Vista Sidebar gadget for showing your Xbox Live GamerCard (Look here).

I couldn’t resist creating a C# class that can be used from any .net application to extract all the data. Based upon Dans (nice regexes.. 🙂 ) work I’ve put together a simple class that one can use for this purpose (download here). I’ve also put together a simple WinForms application that uses it (download here).

XboxLiveGamerCard.netclassC_12020_image_2

The usage is very simple :

GamerCard.Loaded += new GamerCardLoadedEventHandler(GamerCard_Loaded);
GamerCard card = GamerCard.Create("Adept DoLittle");

void GamerCard_Loaded(GamerCard gamerCard)
{


}

 

Standard

Leave a Reply