예제 #1
0
 public NetCheck(FormMeiQ formMeiQ)
 {
     _formMeiQ = formMeiQ;
     //_textBoxInPut = textBoxInPut;
     //_strDomainName = textBoxInPut.Text.ToString().Replace("\r\n",":");//获取输入文本框的域名
     _strDomainName = "meiqia.com:" +
                      "app.meiqia.com:" +
                      "eco-push-api-agent.meiqia.com:" +
                      "static.meiqia.com:" +
                      "app-cdn-s0.b0.upaiyun.com:" +
                      "app-s3-cdn.b0.upaiyun.com";
     _dnsConfigCheck     = new DNSconfigCheck(_formMeiQ);
     _pingServerNetCheck = new PingServerNetCheck(_formMeiQ);
     _localNetCheck      = new LocalNetCheck(_formMeiQ);
     _mailSend           = new MailToMeiQ();
     _cmdRunCommand      = new CmdRunCommand();
     _systemInfo         = new SystemInfo();
 }
예제 #2
0
 public LocalNetCheck(FormMeiQ form1)
 {
     _message   = "";
     _form1     = form1;
     _pingCheck = new PingServerNetCheck(form1);
 }