![]() |
Besteht eine Netzwerk - Verbindung
Hallo,
damit wird überprüft ob eine Verbindung zum Netzwerk besteht, ist das der Fall so gibt die Funktion ein True zurück, ansonsten ein False.
Delphi-Quellcode:
Grüsse, Daniel :hi:
function IsNetworkConnected: Boolean;
begin if GetSystemMetrics(SM_NETWORK) and $01 = $01 then begin Result := True; end else begin Result := False; end; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:55 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz