LiveNet 0.2 Released: Silverlight Streaming Added

Luke and I have released Version 0.2 of LiveNet. This release comes with the addition of Silverlight Streaming From Windows Live and allows you to add, delete and get your Silverlight applications that you’re hosting with Windows Live.

As part of the release, I have included a sample application that shows just how easy it is to us SLS with LiveNet, here is a sample of that code:

        LiveMedia m_livemedia;
        MediaFileSet[] sets;
        MediaFile[] files;

        private void button1_Click(object sender, EventArgs e)
            if (string.IsNullOrEmpty(textBox1.Text) ||
                MessageBox.Show("Either you have entered no Account ID or Passkey", 
                    "Doh", MessageBoxButtons.OK, MessageBoxIcon.Error);

            m_livemedia = new LiveMedia(textBox1.Text, textBox2.Text);
            sets = m_livemedia.ListFileSets();
            foreach (MediaFileSet set in sets)

        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
            int i = listBox1.SelectedIndex;
            MediaFileSet set = sets[i];
            files = set.Files;
            foreach (MediaFile file in files)

And when run in the sample app, you will end up with the following:

Which you can preview the selected application. This has been done using a client app, but can just as easily be integration into an ASP.Net project.


  1. #1 by Scott on December 22, 2007 - 2:18 pm

    That\’s pretty damn cool! gonna echo this via my blog as i think it will be helpful.

    Scott Barnes
    RIA Evangelist

  2. #2 by Scott on December 22, 2007 - 2:24 pm

    Thanks Scott, there\’s more to come as well 😉 Plenty of Live APIs left to cover 😀

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: