winform 获取启动项名称

来源:互联网 发布:ios 新闻app源码 编辑:程序博客网 时间:2024/05/17 01:59
 private string GetStartUpName()
        {
            //获取启动项名称
            System.Reflection.Assembly asm = System.Reflection.Assembly.GetEntryAssembly();
            string startUpClient = asm.ManifestModule.Name;

            return startUpClient;
        }
0 0
原创粉丝点击