Tuesday, May 18, 2010

Connecting to Remote WMS Server...

using Microsoft.WindowsMediaServices.Interop;
using System.Runtime.InteropServices;

try
{
// Declare variables.
Type tServerType;
WMSServer RemoteServer;

// Retrieve the type information from the Windows
// Media server running on the remote machine.

tServerType = Type.GetTypeFromProgID("WMSServer.Server",
"remote_computer_name");


// Create an instance of the remote server object locally.
RemoteServer = (WMSServer)Activator.CreateInstance(tServerType);
}
catch (COMException comExc)
{
// TODO: Handle COM exceptions.
}
catch (Exception e)
{
// TODO: Handle exceptions.
}


More on http://msdn.microsoft.com/en-us/library/ms741994

Thursday, May 13, 2010

Windows Phone 7 Rules...

http://live.visitmix.com/MIX10/Sessions/CL01