I am using the following code to return the IP address:
What I need is code to return the IP Mask, Gateway and DNS servers.
I did a couple different searches and couldn't find anything. Any clues?
------------------
Code:
FUNCTION IpAddress () AS STRING LOCAL pIP AS BYTE PTR HOST ADDR TO ip& pIP = VARPTR(ip&) FUNCTION = USING$("#_.#_.#_.#", @pIP, @pIP[1], @pIP[2], @pIP[3]) END FUNCTION
I did a couple different searches and couldn't find anything. Any clues?
------------------
Comment