获取远程网页的内容之二(downmoon原创)
栏目:win服务器问题汇总
时间:2019-10-24 14:51
本文仅针AD下代理上网的情况:
代码如下:
1、定义变量:
定义变量#region 定义变量
复制代码 代码如下:
private string strFireWallIP
...{
get
...{
return System.Configuration.ConfigurationSettings.AppSettings["strFireWallIP"];
}
}
private string strFireWallPort
...{
get
...{
return System.Configuration.ConfigurationSettings.AppSettings["strFireWallPort"];
}
}
private string strUID
...{
get
...{
return System.Configuration.ConfigurationSettings.AppSettings["strUID"];
}
}
private string strPWD
...{
get
...{
return System.Configuration.ConfigurationSettings.AppSettings["strPWD"];
}
}
private string strDomain
...{
get