ConnectedToInternet()

作者: SKAN 最近更新时间: 20060522


The function checks if the computer is connected to the internet.

ConnectedToInternet(flag=0x40)

关于函数的参数和返回值, 请参阅其源码或 此文档.

备注

The documentation is copied part from author`s forum post about the library.

关于此函数(集)的更新细节和注意事项, 请参见 AutoHotkey 论坛: http://www.autohotkey.com/forum/viewtopic.php?p=60892#60892

许可

不存在

示例

; #Include ConnectedToInternet.ahk
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

; True if internet connection is available.
MsgBox % "ConnectedToInternet: " . ConnectedToInternet()