How do I get the name of the current executable in C#? (.NET 5 edition)

后端 未结 0 1484
没有蜡笔的小新
没有蜡笔的小新 2020-12-23 02:34

How do I get the name the executable was invoked as (equivalent to C\'s argv[0])? I actually need to handle somebody renaming the executable and stuff like that.

Ther

相关标签:
回答
  • 消灭零回复
提交回复
热议问题