Latest Version


#1

So I finally downloaded an updated version of Sanderling today and it’s complaining that “System.Diagnostics.Process” is not supported.

I have this at the top of my script #r “System.Diagnostics.Process”
I use it to kill the eve client if I detect a connection lost window.

Is this no longer supported or can I do something fix it?

Thanks all.


Connection Lost
#2

Killing the eve client now works with this code:

Sanderling.KillEveProcess();

#3

Thanks, I’ll give it a try. This is my actual code but I’ll adapt it to try yours.
Sanderling.Interface.MemoryStruct.MessageBox mBox1 = (Sanderling.Interface.MemoryStruct.MessageBox)Measurement.WindowOther[0];

  if (mBox1.TopCaptionText.ToString().Equals("Connection Lost"))
  {
      foreach (var process in System.Diagnostics.Process.GetProcessesByName("exefile"))
      {
          process.Kill();
      }
  }