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);
}
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.