YellowWee's Scripts

妳的世界能夠從此不同...而我的世界... 亦因妳而改變...

导航

如何取得正在运行的程序名(不是进程名)

Posted on 2004-06-01 16:55  YellowWee(端木柒)  阅读(814)  评论(1编辑  收藏  举报
不知道什么时候会用上,先放在这里~ 为什么要得到程序名呢?

System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase


 下面这个还像是获得当前运行的组件名

System.Reflection.Assembly.GetExecutingAssembly().FullName