IIS -v

   RegistryKey key = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\InetStp");
            textBox1.Text = key.GetValue("MajorVersion").ToString();

posted @ 2010-07-30 08:39  greencolor  阅读(137)  评论(0)    收藏  举报