Imports System Imports System.Diagnostics Imports System.ComponentModel Class MyProcess Shared Sub Main() Dim ipByName As Process() = Process.GetProcessesByName("notepad", "169.0.0.0") End Sub End Class