摘要:
控制台应用程序:Environment.CurrentDirectory、Directory.GetCurrentDirectory()windows服务:Environment.CurrentDirectorywindows服务安装成功后:1. System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName2.////// 获取服务应用程序的安装路径(或者当前安装目录)////// /// public static string GetWindowsServiceInstallPath(string ServiceNam 阅读全文
posted @ 2013-11-11 16:04
拾破烂的
阅读(2355)
评论(0)
推荐(0)

浙公网安备 33010602011771号