Gets if specified IP address is private LAN IP address. For example 192.168.x.x is private ip.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use Net_Utils.IsPrivateIP instead of it")] public static bool IsPrivateIP( string ip )
<ObsoleteAttribute("Use Net_Utils.IsPrivateIP instead of it")> Public Shared Function IsPrivateIP ( ip As String ) As Boolean
public: [ObsoleteAttribute(L"Use Net_Utils.IsPrivateIP instead of it")] static bool IsPrivateIP( String^ ip )
[<ObsoleteAttribute("Use Net_Utils.IsPrivateIP instead of it")>] static member IsPrivateIP : ip : string -> bool
![](../icons/collapse_all.gif)
- ip (String)
- IP address to check.
![](../icons/collapse_all.gif)
Boolean
Returns true if IP is private IP.
Returns true if IP is private IP.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | Is raised when ip is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119