wp7 skydrive upload

Next, head over to https://manage.dev.live.com/Applications/Index and add an application. This will provide you with an application Id and a client secret token. You also need to configure a valid redirect url as required by the OAuth handshake.

Add a reference to Microsoft.Live and Microsoft.Live.Controls. (included with the SDK)

Now, you should be able to click on the sign in button, get redirected to the live login page. After logging in you will be required to give consent for the requested authorisation. This will look like this:

We then wire up a handler to the SignInButton SessionChanged event and if the sign in was successful we will get a LiveConnectSession object passed in the event.