c# - How to distinguish multiple processes with same name run by totally different Windows forms applications? -


i have 2 applications different functionalities. 1 of existing application , other 1 made me purposefully same name.

when started user, process name same both.

using c#, vs 2010, .net 2.0 want distinguish between 2 , them when process list using c#.

target os : xp / win 7 / win 8 / win 10

you use mainmodule property of each process distinguish them version info: https://msdn.microsoft.com/en-us/library/system.diagnostics.process.mainmodule%28v=vs.110%29.aspx


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -