LumiSoft Mail Server User API
IsPrivateIP Method (ip)
Namespaces > LumiSoft.Net > Core > IsPrivateIP(String)
Gets if specified IP address is private LAN IP address. For example 192.168.x.x is private ip.
Syntax

C# | Visual Basic | Managed C++

    public static bool IsPrivateIP (
    	string ip
    )

    Public Shared Function IsPrivateIP ( _
    	ip As String _
    ) As Boolean

    public:
    static bool IsPrivateIP (
    	String^ ip
    )

Parameters

ip (String)
  IP address to check.

Return Value
Returns true if IP is private IP.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)