日期:2014-05-17 浏览次数:20842 次
while (ServerRun)
{
try
{
using (HttpWebResponse response = HttpWeb.HttpWebResponseUtility.CreatePostHttpResponse(url, para2, cookie))
{
if (response != null && response.StatusCode == HttpStatusCode.OK)
{
string result = HttpWeb.HttpWebResponseUtility.GetData(response, Encoding.UTF8);
AlertLib.AlertForm f = new AlertLib.AlertForm();
f.Show(result , "提示", AlertLib.AlertForm.ShowWay.Fade, 300, 200, 200, 3000, 500);
}
}
}
catch (System.Exception ex)
{
}
Thread.Sleep(10000);
Application.DoEvents();
//GC.Collect();
}