Wednesday, 11 September 2013

Delphi XE4 - get your local IP in statusbar

Delphi XE4 - get your local IP in statusbar

Seen most of the examples posted here but none seem to work on XE4. I am
trying to display my IP in the status bar.
AdvOfficeStatusBar1.Panels[0].Text := GetIP;
Functions I have seen here mostly fail on xe4 as they were written in
older delphi versions.I would like to get just the local IP,not the one
behind the router. Well, for the sake of learning, it would be usefull to
know that one too...:)

No comments:

Post a Comment