摘要:
///<summary>///检测IIS及版本号///</summary>///<returns></returns>publicstringGetIISVerstion(){RegistryKeykey=Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\INetStp");if(key==null)returnstring.Empty;elsereturnConvert.ToString(key.GetValue("MajorVersion"))+ 阅读全文