Platforms to show: All Mac Windows Linux Cross-Platform

Back to CWInterfaceMBS class.

CWInterfaceMBS.interfaceNames as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the list of BSD names for WLAN interfaces available on the current system.
Example
dim names() as string = CWInterfaceMBS.interfaceNames
MsgBox Join(names,EndOfLine)

Returns an array of strings representing the supported WLAN BSD interface names avaliable on the current system (i.e. "en1", "en2"). If there are no supported interfaces for the current system, then this method will return an empty NSArray object.
Returns empty array in the case of an error.

Available on Mac OS X 10.7 or later.

CWInterfaceMBS.interfaceWithName(name as string) as CWInterfaceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Queries the interface with the given name.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.interfaceWithName("en0")

MsgBox c.description

name: A string representing the name of an Airport interface.

CWInterfaceMBS.primaryInterface as CWInterfaceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Convenience method for getting an CWInterface object for the primary interface.
Example
dim c as CWInterfaceMBS = CWInterfaceMBS.primaryInterface

MsgBox c.name

CWInterfaceMBS.supportedInterfaces as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS MacFrameworks Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Getting all supported interfaces

Returns an array containing strings representing the supported CoreWLAN interface names avaliable on the current system (i.e. "en1", "en2"). If there are no supported interfaces for the current system, then this method will return an empty array.

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


The biggest plugin in space...