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

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.