本机可以管理员的身分读注册表
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
下的CSDVersion键值 客户机的版本信息没找着哪能取server pack version, 但能取它.net版本号
HttpBrowserCapabilities cap = Request.Browser;
string strAgent = Request.UserAgent;

解决方案 »

  1.   

    本机可以管理员的身分读注册表
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    下的CSDVersion键值
    快乐王子能不能给一个程序看看,如何读取注册表
      

  2.   

    W2k在我的电脑->属性->常规 中就到看到另在系统起动是以能看到,WinNT,W2K都行
      

  3.   

    RegistryKey key = Registry.LocalMachine;
    RegistryKey key1 = key.OpenSubKey("Software\\Microsoft\\Windows NT\\CurrentVersion", true);
    string str = key1.GetValue("CSDVersion").ToString(); //取得它的值
    key1.Close();
    key.Close();
      

  4.   

    记得要
    using Microsoft.Win32;