请各位高手指点

解决方案 »

  1.   

    修改注册表
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
    "MigrateProxy"=dword:00000001
    "ProxyEnable"=dword:00000001
    "ProxyHttp1.1"=dword:00000000
    "ProxyServer"="http://ProxyServername:80"
    "ProxyOverride"="<local>"
      

  2.   

    to hdt 能否给出完整的cs代码,引用哪个命名空间呢,还有如何确定当前代理是否可用?非常感谢!
      

  3.   

    下面是我的代码,无法修改,但是可以通过RegistryKey regkey = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\", true);        regkey.SetValue("ProxyServer", "http://202.118.66.6:8080", RegistryValueKind.String);regkey.Close();