How to get name of application that launched current process

C

chief tent

Basic question: Two C# programs A and B. Program A is launched by the
user, then program A launches program B. From program B, I want to get
the filename and path of program A (the process that launched B). I've
spent a while searching around for this and can't seem to find
anything. Is is even possible to do this?

A few more details - From program A I'm launching B using
System.Diagnostics.Process.Start()

Both developed in VS2001, .net framework 1.0

Thanks in advance for any help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top