LumiSoft Net Help
IsPrivateIP Method (ip)
Namespaces ► LumiSoft.Net ► Net_Utils ► IsPrivateIP(IPAddress)
Gets if specified IP address is private LAN IP address. For example 192.168.x.x is private ip.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public static bool IsPrivateIP(
    	IPAddress ip
    )

    Public Shared Function IsPrivateIP (
    	ip As IPAddress
    ) As Boolean

    public:
    static bool IsPrivateIP(
    	IPAddress^ ip
    )

    static member IsPrivateIP :
            ip : IPAddress -> bool

Parameters

ip (IPAddress)
  IP address to check.

Return Value
Boolean
Returns true if IP is private IP.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when ip is null reference.

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