Is there a way to get the IP address of the robot executing the script, similar to what the SystemInfo.ComputerName method is doing? I cannot find anyway to get that information...
Answer by Benjamin W. ·
You could use the function given in response to this question on StackOverflow. It worked for me.
You may have to do some string manipulation afterwards, because it returns all IP addresses the machine has (v4, v6, all network adapters).
Edited to add: It's also done in the Framework as part of CVFW_ClientVantage_Utils.UpdateHealthFile, but I like the first solution better. This also may return a number of IP addresses.
Answer by Yuriy L. ·
In addition to Benjamin's suggestions, you can use http://www.myengineeringworld.net/2014/12/get-public-ip-local-ip-mac-address-vba.html -- it contains a VBA function GetMyLocalIP(). You might need to add references to the Windows DLL(s).
Does ESM support captcha? 4 Answers
Create Windows Event Log 2 Answers