The new SDK brings changes to method names in APIs for Windows 8

Jun 1, 2012 09:40 GMT  ·  By

Today, Microsoft made available for download a new flavor of the Live SDK Preview, namely version 5.2, with various enhancements to make app development an easier task.

The SDK, designed to provide app developers with programmatic access to Live web services, was meant to enable the building of applications that can work with data in user accounts in Windows Live ID, SkyDrive, Hotmail, and Windows Live Messenger.

The latest release of the developer tools comes with changes to managed API for Windows 8, enabling apps built with C# to retrieve an authentication token for single sign-on. The “Microsoft.Live.LiveAuthClient constructor now provides an overload that takes a string representing a redirect URI.”

The new Live SDK 5.2 Preview also enables apps built for Windows Phone 7.5 to finish tasks even when suspended.

Other changes in the new release include new names for a series of JavaScript API methods, as well as for the majority of methods in the Microsoft.Live.LiveAuthClient and Microsoft.Live.LiveConnectClient classes, but only for Windows 8.

In this release, the Messenger Connect/Live Connect version 4.1 has been deprecated. Starting with June 25th, 2012, the corresponding version 4.1 APIs will no longer work.

Developers are recommended to migrate their applications from version 4.1 to version 5.0. To learn more info on the matter, they should head over to the Migrating your Live Connect v4.1 app to v5.0 post on Microsoft’s website.

“To register your app with Live Connect, to obtain a client ID, and to specify other necessary app settings, follow the steps outlined in the Configuring your app online Help topic,” Microsoft notes.

“Again, be sure to use the URLs listed in section 4.1 of this document, Live Connect URLs for the preview release, instead of those described in the online documentation,” the company continues.

The full release notes for the new SDK flavor can be found on Microsoft’s website here.

You can download the new Live SDK 5.2 Preview from Softpedia as well, via this link.