the network is available or not
判断电脑是否联网:
#41:PC is connected to a network or not
If you want to know if the PC is connected to a network under MS Windows then you can call a GetSystemMetrics() function (Windows API) with SM_NETWORK parameter:
if(GetSystemMetrics(SM_NETWORK) AND$01 = $01) then<PC isattached tonetwork> else<PC is notattached tonetwork>
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。