LumiSoft Net Help
IsPrivateIP Method (ip)
NamespacesLumiSoft.NetCoreIsPrivateIP(IPAddress)
Gets if specified IP address is private LAN IP address. For example 192.168.x.x is private ip.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use Net_Utils.IsPrivateIP instead of it")]
public static bool IsPrivateIP(
	IPAddress ip
)
<ObsoleteAttribute("Use Net_Utils.IsPrivateIP instead of it")>
Public Shared Function IsPrivateIP ( 
	ip As IPAddress
) As Boolean
public:
[ObsoleteAttribute(L"Use Net_Utils.IsPrivateIP instead of it")]
static bool IsPrivateIP(
	IPAddress^ ip
)
[<ObsoleteAttribute("Use Net_Utils.IsPrivateIP instead of it")>]
static member IsPrivateIP : 
        ip : IPAddress -> bool 
Parameters
ip (IPAddress)
IP address to check.
Return Value
Boolean
Returns true if IP is private IP.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when ip is null reference.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119