Starting Media Center Via Command?

Feb 19, 2009 at 3:06 PM
Hi there,

This is a great application, however, how does one deal with launching MCE via TCP/IP if it isn't already running?

Thanks.
Jan 11, 2011 at 3:14 PM

hi mavromatis,

you can communicate with the VMCC if MCE is already started.

But you can use e.g. this c# code to start MCE:

 

public void startWindowsMediacenter()
{
Process process = new Process();
String mediacenterPath = Environment.GetEnvironmentVariable("windir") + "\\ehome\\ehshell.exe";
process.StartInfo.FileName = mediacenterPath;
process.Start();
}