How to get current system ip address in mql4

 
i want to get current computer's ip address.. plz tel me any ideas regarding that..
 

since there is no a command/function build in in MT4, you have to find a workaround

1. using WebRequest: websites like http://myipaddress.com and analyze the data

2. WINAPI
 
To find the IP address on a windows computer using ipconfig, open a command line and type the command ipconfig at the prompt. A box will appear showing the IP address, subnet mask and default gateway.


<link removed by moderator>