예제 #1
0
 public void getwebipsnew(string sid, string subid)
 {
     try
     {
         string string_ = string.Format("http://123.207.144.61:8888/pro/88881");
         string str     = JsonConvert.SerializeObject(new prorequest
         {
             sid   = sid,
             subid = subid
         });
         str = MyEncrypt.AesEncryptor(str);
         string string_2 = JsonConvert.SerializeObject(new sendrequest
         {
             json = str
         });
         dynamic     val  = JsonConvert.DeserializeObject <object>(method_0(string_, string_2));
         List <myip> list = JsonConvert.DeserializeObject <List <myip> >(MyEncrypt.AesDecryptor((string)val.ret));
         if (list != null)
         {
             foreach (myip item in list)
             {
                 concurrentBag_0.Add(item);
             }
         }
     }
     catch
     {
     }
 }