How to know the name of process in the other process? or who started that process.

Recommended Answers

You can get a list of processes and parse the result, but it's highly OS dependent.

Jump to Post

All 3 Replies

You can get a list of processes and parse the result, but it's highly OS dependent.

You can get a list of all processes by
using System.Diagnostics;
var allProcesses = Process.GetProcesses();

A dongling pointer. This is C++ not VB or Javascript...
no var variable here please.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.