关闭 InetGet() 返回的句柄.
InetClose ( 句柄 )
句柄 | 由 InetGet() 返回的句柄. |
Local $hDownload = InetGet("http://www.autoitscript.com/autoit3/files/beta/update.dat",
@TempDir &
"\update.dat",
1, 1)
Do
Sleep(250)
Until InetGetInfo($hDownload, 2) ;
检查完成的下载.
Local $nBytes
= InetGetInfo($hDownload, 0)
InetClose($hDownload) ; 关闭句柄以释放资源.
MsgBox(0, "", "读取字节:
" & $nBytes)
provider with jb51.net (unicode) |