Constructs a Network.
Namespace:
MaxMind.Db
Assembly:
MaxMind.Db (in MaxMind.Db.dll) Version: 2.6.1
Syntaxpublic Network(
IPAddress ip,
int prefixLength
)
Public Sub New (
ip As IPAddress,
prefixLength As Integer
)
public:
Network(
IPAddress^ ip,
int prefixLength
)
new :
ip : IPAddress *
prefixLength : int -> Network
Parameters
- ip
- Type: System.NetIPAddress
An IP address in the network. This does not have to be the
first address in the network.
- prefixLength
- Type: SystemInt32
The prefix length for the network.
See Also