Question

In plain English I want my desktop c# windows 7 app to have "upload to onedrive" feature. I have been going in circles for hours and all code seem to point to ASP or windows store apps.

Is Live SDK restricted to windows 8 and can't be used for windows 7? I came across code such as this which only work in visual studio 2012

LiveConnectClient client;
var auth = new LiveAuthClient("YourGeneratedKey");
var result = auth.InitializeAsync(new [] {"wl.basic", "wl.signin", "wl.skydrive_update" });

// If you're not connected yet, that means you'll have to log in.
if(result.Status != LiveConnectSessionStatus.Connected)
{
    // This will automatically show the login screen
    result = await auth.LoginAsync(new [] {"wl.basic", "wl.signin", "wl.skydrive_update" });
}

if(result.Status == LiveConnectSessionStatus.Connected)
{
     client = new LiveConnectClient(result.Session);
}
Was it helpful?

Solution 2

If you want full functionality you need windows 8. Why do you use onedrive? See other cloud storage solutions, I remember dropbox allows full access regardless of windows version.

OTHER TIPS

According to the system requirements of the Live SDK 5.5 it is possible to use Live SDK for Windows 7 and above. However many features are not available on Windows 7 and lower. So the answer is no, you cannot use Live SDK with the requirements you specify. This is because Live SDK uses the Managed API. There is an codeplex project named Pseudo Live SDK which allows you to use the Live SDK on Windows 7 and earlier. http://pseudolivesdk.codeplex.com/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top