Hello there. How can I check if the code side (Allow WebRequest for listed Url) is open or if the link I want is added while using Webrequest? Thx ?
Kamran Huseyn: Hello there. How can I check if the code side (Allow WebRequest for listed Url) is open or if the link I want is added while using Webrequest? Thx ?
I don't believe you can. All you can do is check if the Webrequest function fails and if so, alert the user to check that the URL is listed.
Kamran Huseyn: Can't I check using user32.dll or using webrequest which dll is connected? is there no way? Thx.
Yes, you could use WinAPI, but only if DLL calls are enabled. If this is for a Market Product or for MQL5 VPS, then DLL is not enable or allowed.
But for other situations, if it is the case that DLL calls are enabled and allowed, then you might as well use WinAPI directly for the web communications.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register