Delphi, How to get all local IPs?

前端 未结 6 1673
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-03 07:47

Any one know a way in delphi get a simple list (eg tstrings) of the local ip address.

I have had a look at the other related question, and cant seem to get my head a

6条回答
  •  臣服心动
    2020-12-03 08:17

    The Jedi Code Library contains a procedure

    procedure GetIpAddresses(Results: TStrings); 
    

    in unit JclSysInfo

提交回复
热议问题