[This is preliminary documentation and is subject to change.]
Checks whether an IP address may belong to LAN or localhost (192.168.0.0/16, 10.0.0.0/24, or 127.0.0.0/24).
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
Parameters
- addr
- IPAddress
IPv4 address to check.
Return Value
True if given IP is local; otherwise false.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IPAddress. When you use instance method syntax to call this method, omit the first parameter.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | addr is null. |