I want to get the name of the currently running program, that is the executable name of the program. In C/C++ you get it from args[0].
args[0]
System.AppDomain.CurrentDomain.FriendlyName
2.1m questions
2.1m answers
60 comments
57.0k users