LiveSDK library for integrating with Live Connect
C# JavaScript HTML CSS Other
Switch branches/tags
Nothing to show
Clone or download
aclev Merge pull request #60 from ginach/master
Add note about new SDK
Latest commit ff7759a Oct 8, 2015

Annoucement: There's a new OneDrive SDK

The Live SDK has been replaced by the OneDrive API and OneDrive SDK for C#. All new projects should use the OneDrive API to integrate with OneDrive instead of Live SDK.

This Live SDK project will remain available for existing applications to continue to use but new application development should be done using the OneDrive SDK.

LiveSDK for Windows and Windows Phone (legacy)

version 5.6

  1. Introduction

The Live SDK for Windows and Windows Phone library is intended to help developers to easily integrate OneDrive and contacts into their Windows Runtime apps (HTML and XAML).

The Live SDK enables access to users’ identity profile info and allows your apps to:

  • Upload and download photos, videos, documents, and other files in OneDrive
  • Personalize your users’ experience
  • Take advantage of single sign-on using Microsoft Account in Windows 8.1 and Windows Phone 8.1
  • Create, read, and update contacts, calendars, and events in
  1. Reference the SDK

  • Install the Live SDK from the download site
  • Open your app's project in Visual Studio
  • In Solution Explorer, right-click References > Add Reference
  • For Windows Runtime HTML apps: Click Windows > Extension SDKs and select both Live SDK and Windows Library for JavaScript 2.1. Further details available here
  • For Windows Runtime XAML apps: Click Windows 8.1 or Windows Phone 8.1 > Extensions and select Live SDK. Further details available here

To use the SDK in a Windows Store app with single sign-in (the default), you need to register the application with the Windows Store. Failing to register the app will generate a runtime exception when logging in with the SDK. For more information about how to register with the Windows Store, click here

  1. Documentation


  1. Sample code

Windows Store App Samples

  • Includes samples for HTML and XAML apps for Windows and Windows Phone

Desktop Samples

  • API Explorer: Authenticates user and uploads and downloads files

Web Samples

  • 3 samples that demonstrate authentication and OAuth with ASP.Net or PHP

Windows Phone 8 Samples

  • 5 samples that demonstrate authentication and core concepts (upload, download, etc)