Mega Code Archive

 
Categories / VB.Net / Windows System
 

Get all instances of Notepad running on the specifiec computer

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