I
import
Unregistered / Unconfirmed
GUEST, unregistred user!
if GetSystemMetrics(SM_NETWORK) AND $01 = $01 then ShowMessage('Machine is attached to network') else
ShowMessage('Machine is not attached to network');
ShowMessage('Machine is not attached to network');