How to know IP of PC that using EA

 

Dear,

I would like to code in mq4 a function that can give me IP address of PC that use EA.

I've searched on Internet but I've not got solution for this issue.

Please support. Thanks you.

 
What if they use a VPS or IP protection?
 
Ickyrus:
What if they use a VPS or IP protection?


It is not VPS & IP protection in my case.

Do you know how to code this function ? Thanks!

 

Just to be clear on the question you want the code to tell the user their IP address?

 


Thank you for your help.

But it seem to be not MQL4 code, isn't it ?

I want to code it on MT4, can you ?

THANKS!

 
As far as I know it cant be done in MLQ code you have to write a DLL in C or C++ to achieve your goal.
 
Ickyrus:
As far as I know it cant be done in MLQ code you have to write a DLL in C or C++ to achieve your goal.
y not it can be done by using WINAPI
 
o, & u can get it from the registry 2