Well, that sure is a lot simpler than parsing the IPConfig output!
Is there a way to capture the MAC address this way as well?
uses {$IFDEF MSWINDOWS}Windows, WinSock,{$ENDIF}
Should have a ; at the end instead of a ,
uses {$IFDEF MSWINDOWS}Windows, WinSock;{$ENDIF}
James