Как узнать, подключён ли компьютер к сети ?

  if GetSystemMetrics(SM_NETWORK) and $01 = $01 then 
    ShowMessage('Computer is attached
                 to a network!') 
  else 
    ShowMessage('Computer is not 
                 attached to a network!');
 
faq/delphi/net/check_connection_to_network.txt · Последние изменения: 2006/05/14 14:40 (внешнее изменение)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki