How to get IPV4 Address.
The below example will return the Local IP address, but I want IP address which will be shown in command prompt after firing ipconfig/all command.
This code will return Local ip address.
Hi Taufeeq,
Refer below links -
https://stackoverflow.com/questions/1059526/get-ipv4-addresses-from-dns-gethostentry
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.