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

  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 · Последнее изменение: d.m.Y H:i — 127.0.0.1
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki