勤奋菜鸟的天堂

导航

2012年6月15日 #

iis操作

摘要: /// <summary> /// 获取IIS版本号 /// </summary> /// <returns>-1,未安装IIS,大于-1表示版本号</returns> private static double GetIISVersion() { double i = -1; RegistryKey getKey = Registry.LocalMachine.OpenSubKey("software\\microsoft\\inetstp"); if (getKey != null) { string iisVer = g 阅读全文

posted @ 2012-06-15 17:46 勤奋的菜鸟 阅读(271) 评论(0) 推荐(0) 编辑