version 5.6
- Introduction
The Live SDK for Windows and Windows Phone library is intended to help developers to easily integrate OneDrive and Outlook.com 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 Outlook.com
- 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
- Documentation
Visit: http://dev.onedrive.com.
- Sample code
- Includes samples for HTML and XAML apps for Windows and Windows Phone
- API Explorer: Authenticates user and uploads and downloads files
- 3 samples that demonstrate authentication and OAuth with ASP.Net or PHP
- 5 samples that demonstrate authentication and core concepts (upload, download, etc)