IPv4
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | Specify IP address and netmask like: Dim ip As New IPv4("10.1.0.25","255.255.255.16") |
| checkNetMask | 1 | See if there are zeroes inside netmask, like: 1111111101111 this Is illegal, throw exception if encountered. |
| NumericIpToSymbolic | 2 | Get the IP in symbolic form, i.e. |
| NumericNetmaskToSymbolic | 1 | Get the net mask in symbolic form, i.e. |
| GetCIDR | 1 | Get the IP and netmask in CIDR form, i.e. |
| GetAvailableIPs | 1 | Get an arry of all the IP addresses available for the IP and netmask/CIDR given at initialization @return |
| contains | 2 | Does this IP range contains the specific child? |
| NetMaskNumeric | 1 | |
| IPNumeric | 1 | |
| HostToNetworkOrder | 1 | |
| GetHostAddressRange | 1 | |
| GetNumberOfHosts | 1 | |
| GetWildcardMask | 1 | |
| GetBroadcastAddress | 1 | |
| GetBinary | 1 | |
| ToString | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| IPAddress | 1 | Get the IP in symbolic form, i.e. |
| Netmask | 1 | Get the net mask in symbolic form, i.e. |
| CIDR | 1 | Get the IP and netmask in CIDR form, i.e. |
| hostAddressRange | 1 | Range of hosts @return |
| numberOfHosts | 1 | Returns number of hosts available in given range |
| WildcardMask | 1 | The XOR of the netmask |
| BroadcastAddress | 1 | |
| netmaskInBinary | 1 |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| InvalidNetmaskInitial | 1 | The first byte of netmask can not be less than 255 |
05 Members
String, String)Specify IP address and netmask like: Dim ip As New IPv4("10.1.0.25","255.255.255.16")
| Name | Type | Description |
|---|---|---|
symbolicIP | String | - |
netmask | String | - |
See if there are zeroes inside netmask, like: 1111111101111 this Is illegal, throw exception if encountered. Netmask should always have only ones, then only zeroes, like: 11111111110000
String, Boolean)| Name | Type | Description |
|---|---|---|
hexIp | String | - |
Int32)Get the IP in symbolic form, i.e. xxx.xxx.xxx.xxx
| Name | Type | Description |
|---|---|---|
ip | Int32 | - |
Int32)Get the net mask in symbolic form, i.e. xxx.xxx.xxx.xxx
| Name | Type | Description |
|---|---|---|
netMaskNumeric | Int32 | - |
Int32, Int32)Get the IP and netmask in CIDR form, i.e. xxx.xxx.xxx.xxx/xx
| Name | Type | Description |
|---|---|---|
baseIPnumeric | Int32 | - |
netmaskNumeric | Int32 | - |
Nullable(Of Int32))Get an arry of all the IP addresses available for the IP and netmask/CIDR given at initialization
@return
String)Checks if the given IP address contains in subnet
| Name | Type | Description |
|---|---|---|
IPaddress | String | @return |
Does this IP range contains the specific child?
| Name | Type | Description |
|---|---|---|
child | IPv4 | - |
Get the IP in symbolic form, i.e. xxx.xxx.xxx.xxx
@return
Get the net mask in symbolic form, i.e. xxx.xxx.xxx.xxx
@return
Get the IP and netmask in CIDR form, i.e. xxx.xxx.xxx.xxx/xx
@return
Range of hosts
@return
Returns number of hosts available in given range
number of hosts
The XOR of the netmask
wildcard mask in text form, i.e. 0.0.15.255
The first byte of netmask can not be less than 255
String, Int32)String, Int32)String)Int32, Int32)Int32)Int32)Int32, Int32)Int32)