Class: | FTP_SERVICE |
Value | Description |
INTERNET_CONNECTION_MODEM | Local system uses a modem to connect to the Internet. |
INTERNET_CONNECTION_LAN | Local system uses a local area network to connect to the Internet. |
INTERNET_CONNECTION_PROXY | Local system uses a proxy server to connect to the Internet. |
INTERNET_CONNECTION_MODEM_BUSY | No longer used. |
LOCAL fResult, lnConnectionState IF This.LoadAPIFuncs() != ERROR_SUCCESS RETURN -1 ENDIF lnConnectionState = 0 =This.BeforeGetConnectedState() fResult = InternetGetConnectedState(@lnConnectionState, 0) =This.GetExtendedError() =This.AfterGetConnectedState(fResult,lnConnectionState) RETURN IIF(fResult = 0,-1,lnConnectionState)