|
|
@@ -60,6 +60,8 @@ namespace VisitService |
|
|
|
{ |
|
|
|
try |
|
|
|
{ |
|
|
|
System.IO.File.AppendAllText(logPath_timer, |
|
|
|
"\r\n" + DateTime.Now + "\r\n开始访问:" + item); |
|
|
|
HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(url); |
|
|
|
myRequest.KeepAlive = false; |
|
|
|
myRequest.Method = "HEAD"; //设置提交方式可以为"get","head"等 |
|
|
|