Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
List of processes running on Remote/Local Computer using C#
WhatsApp
Shweta Lodha
11y
30.2
k
0
1
25
Blog
ArrayList alist = new ArrayList();
// From remote machine
Process
[] processes =
Process
.GetProcesses(
"RemoteComputerName"
);
foreach
(
Process
process
in
processes)
{
alist.Add(process.ProcessName);
}
// From local machine
Process
[] processess =
Process
.GetProcesses();
foreach
(
Process
process
in
processess)
{
alist.Add(process.ProcessName);
}
Up Next
Get All Installed SQL Server Instances On Local Machine Using C#
Ebook Download
View all
Mastering SOLID Principles in C#
Read by 2.7k people
Download Now!
Learn
View all
Membership not found