Client connectivity to Office Live

Now that the Windows Live ID SDK (alpha) is available can it be used to authenticate a client application that will allow me to connect to the Office Live web services I want to be able to programmatically connect to an Office Live site and manipulate ListItems via the Lists web service from my client. What do I need to do to set the credentials on the Lists web service from the Windows Live Identity information.

A simple test app would be as follows:

Lists listService;

listService = new Lists();

// Set the listService credentials here to allow connection with Office Live

XmlNode nodeCollection = listService.GetListCollection();

// Loop through XML response

foreach (System.Xml.XmlNode node in nodeCollection)

{

Console.WriteLine("{0,-20} {1}",

node.Attributes["Title"].Value,

node.Attributes["ID"].Value

);

}



Answer this question

Client connectivity to Office Live