摘要: //获取当前进程的完整路径,包含文件名(进程名)。 string str = this.GetType().Assembly.Location; result: X:\xxx\xxx\xxx.exe (.exe文件所在的目录+.exe文件名) //获取新的 Process 组件并将其与当前活动的进程关联的主模块的完整路径,包含文件名(进程名)。 string str = System.Diagno... 阅读全文
posted @ 2010-06-05 22:55 黑曜石 阅读(11819) 评论(2) 推荐(3) 编辑
点击右上角即可分享
微信分享提示