Platforms to show: All Mac Windows Linux Cross-Platform

Back to CWInterfaceMBS class.

CWInterfaceMBS.activePHYMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current active PHY modes for the interface.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")
MsgBox str(c.activePHYMode)

Dynamically queries the interface for the current active PHY mode.
Returns kCWPHYModeNone in the case of an error, or if the interface is not participating in a network.

Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.bssid as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current BSSID of the CoreWLAN interface.

Dynamically queries the interface for the current BSSID.
(Read only property)

CWInterfaceMBS.bssidData as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current BSSID of the CoreWLAN interface.

Dynamically queries the interface for the current BSSID.
(Read only property)

CWInterfaceMBS.channel as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current channel of the CoreWLAN interface.

Dynamically queries the interface for the current channel.
(Read only property)

CWInterfaceMBS.configuration as CWConfigurationMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current stored configuration for the CoreWLAN interface.

(Read only property)

CWInterfaceMBS.countryCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Country code (ISO/IEC 3166-1:1997) of the CoreWLAN interface.

Dynamically queries the interface for the current country code.
(Read only property)

CWInterfaceMBS.description as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The object description.

(Read only property)

CWInterfaceMBS.deviceAttached as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The interface has its corresponding hardware attached.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")
MsgBox str(c.deviceAttached)

Returns false in the case of an error.
Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The internal object reference.

(Read and Write property)

CWInterfaceMBS.hardwareAddress as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The hardware media access control (MAC) address for the interface, returned as a UTF-8 string.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")
MsgBox c.hardwareAddress

The standard format for printing a MAC-48 address <00:00:00:00:00:00> is used to represent the MAC address as a string. Returns "" in the case of an error.

Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.interfaceMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current mode for the interface.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")
MsgBox str(c.interfaceMode)

Dynamically queries the interface for the current mode. Returns kCWInterfaceModeNone in the case of an error, or if the interface is not participating in a network.

Available on Mac OS X 10.7 or later.
(Read only property)

Some examples using this property:

CWInterfaceMBS.interfaceName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The BSD name of the interface.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")
MsgBox c.interfaceName
MsgBox str(c.noiseMeasurement)

Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.interfaceState as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current state of the CoreWLAN interface.

Dynamically queries the interface for the current interface state.
(Read only property)

CWInterfaceMBS.name as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
BSD name for the CoreWLAN interface.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.primaryInterface

MsgBox c.name

(Read only property)

CWInterfaceMBS.noise as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current aggregate noise measurement (dBm) of the CoreWLAN interface.

Dynamically queries the interface for the current aggregate noise measurement.
(Read only property)

CWInterfaceMBS.noiseMeasurement as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current aggregate noise measurement (dBm) for the interface.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")
MsgBox str(c.noiseMeasurement)

Dynamically queries the interface for the current aggregate noise measurement.
Returns 0 in the case of an error, or if the interface is not participating in a network.

Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.opMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current operation mode of the CoreWLAN interface.

Dynamically queries the interface for the current operation mode.
(Read only property)

CWInterfaceMBS.phyMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current active PHY mode of the CoreWLAN interface.

Dynamically queries the interface for the current active PHY mode.
(Read only property)

CWInterfaceMBS.power as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current power state for the CoreWLAN interface.

Dynamically queries the interface for the current power state.
(Read only property)

CWInterfaceMBS.powerOn as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The interface power state is set to "ON".
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")
MsgBox str(c.rssiValue)

Available on Mac OS X 10.7 or later.
(Read only property)

Some examples using this property:

CWInterfaceMBS.rssi as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current aggregate RSSI measurement (dBm) of the CoreWLAN interface.

Dynamically queries the interface for the current aggregate RSSI measurement.
(Read only property)

CWInterfaceMBS.rssiValue as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current aggregate received signal strength indication (RSSI) measurement (dBm) for the interface.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")
MsgBox str(c.rssiValue)

Dynamically queries the interface for the current aggregate RSSI measurement.
Returns 0 in the case of an error, or if the interface is not participating in a network.

Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.security as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current security mode for the interface.

Dynamically queries the interface for the security mode. Returns kCWSecurityUnknown in the case of an error, or if the interface is not participating in a network.

Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.securityMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current security mode of the CoreWLAN interface.

Dynamically queries the interface for the current security mode.
(Read only property)

CWInterfaceMBS.serviceActive as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The interface has its corresponding network service enabled.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")
MsgBox str(c.serviceActive)

Returns false in the case of an error.

Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.ssid as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current SSID of the CoreWLAN interface.

Dynamically queries the interface for the current SSID.
(Read only property)

CWInterfaceMBS.ssidData as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current service set identifier (SSID) for the interface, returned as data.

Dynamically queries the interface for the current SSID. The SSID is 1-32 octets.
Returns nil in the case of an error, or if the interface is not participating in a network.

Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.transmitPower as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current transmit power (mW) for the interface.

Dynamically queries the interface for the current transmit power.
Returns 0 in the case of an error.

Available on Mac OS X 10.7 or later.
(Read only property)

CWInterfaceMBS.transmitRate as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current transmit rate (Mbps) for the interface.

Dynamically queries the interface for the current transmit rate.
Returns 0 in the case of an error, or if the interface is not participating in a network.
Available on Mac OS X 10.7 or later.
(Read only property)

Some examples using this property:

CWInterfaceMBS.txRate as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current transmit rate (Mbps) of the CoreWLAN interface.

Dynamically queries the interface for the current transmit rate.
(Read only property)

CWInterfaceMBS.wlanChannel as CWChannelMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current channel for the interface.

Dynamically queries the interface for the current channel. Returns nil in the case of an error, or if the interface is not participating in a network.

Available on Mac OS X 10.7 or later.
(Read only property)

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


The biggest plugin in space...