Checks to see if an IP Address or Domain is a local address
public static bool IsLocalIpAddress(Uri uri)
Parameters
uri
Pass a full URL as an Uri
Remarks
Do not use in high traffic situations, as this involves a DNS lookup. If no local hostname is found it goes out to a DNS server to retrieve IP Addresses.
Overloads:
See also:
Class NetworkUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic