Beispiel #1
0
        internal bool KillEmulator()
        {
            bool emCrash = false;

            Harness.SetDeviceDoneEvent();
            foreach (Process p in Process.GetProcessesByName("Microsoft.SPOT.Emulator.Sample.SampleEmulator"))
            {
                p.Kill();
                emCrash = true;
            }

            return(emCrash);
        }