Is there a way in code to detect what process or application starts my process or application. Any .net, vb6 or c++ code snips would be great
In .Net,
Assembly.GetEntryAssembly()
returns the assembly that the current running assembly process was kicked off from. But if you have more than one process running, I don't believe there is any way to determine which one was the first one to start up...
to get the version of the entry assembly,
Assembly.GetEntryAssembly().GetName().Version
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With