I hope anyone can help with the following problem. First the code:
Code: Select all
using System.Windows.Forms;
using System;
using System.Diagnostics;
using System.Drawing;
using Neo.ApplicationFramework.Tools;
using Neo.ApplicationFramework.Common.Graphics.Logic;
using Neo.ApplicationFramework.Controls;
using Neo.ApplicationFramework.Interfaces;
public partial class HTML_InfeedNip
{
void HTML_InfeedNip_Closing(System.Object sender, System.ComponentModel.CancelEventArgs e)
{
string processName = "explorer";
foreach (Process process in Process.GetProcessesByName(processName))
process.Kill();
}
}
system.diagnostics.process' does not contain a definition for 'getprocessesbyname'
Thx in advance.