Platforms to show: All Mac Windows Linux Cross-Platform

Back to NetworkInterfaceMBS class.

NetworkInterfaceMBS.Broadcast as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Whether a broadcast address exists for this interface.

(Read and Write property)

NetworkInterfaceMBS.BroadcastAddress as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The broadcast address.

(Read and Write property)

Some examples using this property:

NetworkInterfaceMBS.Flags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 17.1 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The interface flags.

See if.h file in C system headers.
(Read and Write property)

NetworkInterfaceMBS.Index as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The index of this interface.

(Read and Write property)

NetworkInterfaceMBS.InterfaceIndex as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 14.2 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The index of this interface.

Index counts by plugin from 0 on the interfaces.
But this is real index from operation system.
On Windows requires Windows Vista or newer.
(Read and Write property)

NetworkInterfaceMBS.IPv4 as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The IPv4 address for this interface.
Example
// show IPv4 addresses
dim interfaces() as NetworkInterfaceMBS = NetworkInterfaceMBS.AllInterfaces

for each n as NetworkInterfaceMBS in interfaces
MsgBox n.name+": "+n.IPv4
next

(Read and Write property)

NetworkInterfaceMBS.IPv4count as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Returns the number of IPv4 addresses for this interface.

(Read and Write property)

NetworkInterfaceMBS.IPv6 as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The IPv6 address for this interface.

(Read and Write property)

NetworkInterfaceMBS.IPv6count as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Returns the number of IPv6 addresses for this interface.

(Read and Write property)

NetworkInterfaceMBS.Loopback as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Whether this interface is the loopback interface.

(Read and Write property)

Some examples using this property:

NetworkInterfaceMBS.MAC as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The ethernet hardware address (MAC).

(Read and Write property)

NetworkInterfaceMBS.Multicast as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Whether this interface supports multicast.

(Read and Write property)

Some examples using this property:

NetworkInterfaceMBS.Name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The name of the network interface.

(Read and Write property)

NetworkInterfaceMBS.Netmask as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The network mask.

Returns the IPv4 netmask.
if that one is undefined, returns the IPv6 netmask.
This property is just kept for compatibility.
(Read only property)

NetworkInterfaceMBS.NetmaskIPv4 as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.5 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The network mask for IPv4.

(Read and Write property)

Some examples using this property:

NetworkInterfaceMBS.NetmaskIPv6 as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.5 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The network mask for IPv6.

(Read and Write property)

Some examples using this property:

NetworkInterfaceMBS.Running as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 17.1 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Whether the interface is running (resources allocated).

(Read and Write property)

NetworkInterfaceMBS.Up as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 13.0 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Whether the interface is up.

(Read and Write property)

The items on this page are in the following plugins: MBS Network Plugin.


The biggest plugin in space...