This project is read-only.

Project Description

The Pseudo Live SDK is a clone of Live SDK, supports Desktop Applications based on WPF and Windows Forms.

"Managed API" is a part of Live SDK. it supports Metro Style Application and Windows Phone Application, does not supports traditional Desktop Applications running on Windows 7 or earlier.

Pseudo Live SDK provides APIs roughly same as "Managed API" for Desktop Applications running on Windows 7 or earlier.


The Pseudo Live SDK includes following classes:
  • SignInDialog, shows sign-in dialog for Windows Live ID.
  • LiveConnectSession, stores session informations.
  • LiveConnectClient, accesses data in SkyDrive, Hotmail, and so on

System Requirements

Supported environments:
  • Windows XP, Vista7, 8
  • .NET Framework 3.5 SP1, 4.0, 4.5 (Client Profile is not supported)
  • WPF and Windows Forms


See also following links:


To sign in to Windows Live ID, you can use the SignInDialog class.

LiveConnectSession session;

private void button1_Click(object sender, EventArgs e)
    using (var dialog = new SignInDialog())
        dialog.ClientId = "000000004C0B4104";
        //dialog.Locale = "ja";
        dialog.Scopes = new[] { "wl.signin" };

        //dialog.ShowInTaskbar = true;

        if (dialog.ShowDialog() != DialogResult.OK) return;

        this.session = dialog.Session;

To obtain account informations, you can use LiveConnectClient class.

private void button2_Click(object sender, EventArgs e)
    var client = new LiveConnectClient(this.session);

    client.GetCompleted += this.ConnectClient_GetCompleted;

    this.button2.Enabled = false;

private void ConnectClient_GetCompleted(object sender, LiveOperationCompletedEventArgs e)
    this.button2.Enabled = true;

    if (e.Error == null && !e.Cancelled)
        this.label1.Text = (string)e.Result["name"];

Last edited May 23, 2012 at 1:52 PM by hidori, version 66