using System; using System.Diagnostics; using System.ComponentModel; class MyProcess { static void Main() { Process [] ipByName = Process.GetProcessesByName("notepad", "169.0.0.0"); } }