Platforms to show: All Mac Windows Linux Cross-Platform
CWInterfaceMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Network | MBS MacFrameworks Plugin | 11.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Encapsulates an CoreWLAN interface providing controlled access to various interface operations such as scanning, assocation, and IBSS creation, and providing a means to query and manipulate interface parameters.
Requires Mac OS X 10.6 or newer.
Please note that MBS Plugin implements all methods from 10.6 to 10.9 in CoreWLAN. But Apple changes things often, so some methods are only for older system, some only for newer. e.g. kCWErrorDomain is for 10.6 and CWErrorDomain for 10.7 and newer.
- 31 properties
- property activePHYMode as Integer
- property bssid as string
- property bssidData as Memoryblock
- property channel as Integer
- property configuration as CWConfigurationMBS
- property countryCode as string
- property description as string
- property deviceAttached as boolean
- property Handle as Integer
- property hardwareAddress as string
- property interfaceMode as Integer
- property interfaceName as string
- property interfaceState as Integer
- property name as string
- property noise as Double
- property noiseMeasurement as Integer
- property opMode as Integer
- property phyMode as Integer
- property power as boolean
- property powerOn as boolean
- property rssi as Double
- property rssiValue as Integer
- property security as Integer
- property securityMode as Integer
- property serviceActive as boolean
- property ssid as string
- property ssidData as Memoryblock
- property transmitPower as Integer
- property transmitRate as Double
- property txRate as Double
- property wlanChannel as CWChannelMBS
- 28 methods
- method associateToEnterpriseNetwork(network as CWNetworkMBS, SecIdentityRef as Integer, username as string, password as string, byref error as NSErrorMBS) as boolean
- method associateToNetwork(network as CWNetworkMBS, parameters as dictionary, byref error as NSErrorMBS) as boolean
- method associateToNetwork(network as CWNetworkMBS, password as string, byref error as NSErrorMBS) as boolean
- method cachedScanResults as CWNetworkMBS()
- method commitConfiguration(config as CWConfigurationMBS, byref error as NSErrorMBS) as boolean
- method commitConfiguration(config as CWConfigurationMBS, SFAuthorizationRef as Integer, byref error as NSErrorMBS) as boolean
- method Constructor
- method Constructor(name as string)
- method disassociate
- method enableIBSSWithParameters as boolean
- method enableIBSSWithParameters(byref error as NSErrorMBS) as boolean
- method enableIBSSWithParameters(parameters as dictionary) as boolean
- method enableIBSSWithParameters(parameters as dictionary, byref error as NSErrorMBS) as boolean
- method scanForNetworksWithName(networkName as string, byref error as NSErrorMBS) as CWNetworkMBS()
- method scanForNetworksWithParameters as CWNetworkMBS()
- method scanForNetworksWithParameters(byref error as NSErrorMBS) as CWNetworkMBS()
- method scanForNetworksWithParameters(parameters as dictionary) as CWNetworkMBS()
- method scanForNetworksWithParameters(parameters as dictionary, byref error as NSErrorMBS) as CWNetworkMBS()
- method scanForNetworksWithSSID(ssid as memoryblock, byref error as NSErrorMBS) as CWNetworkMBS()
- method setChannel(channel as UInt32) as boolean
- method setChannel(channel as UInt32, byref error as NSErrorMBS) as boolean
- method setPairwiseMasterKey(key as Memoryblock, byref error as NSErrorMBS) as boolean
- method setPower(p as boolean) as boolean
- method setPower(p as boolean, byref error as NSErrorMBS) as boolean
- method setWEPKey(key as Memoryblock, flags as Integer, index as Integer, byref error as NSErrorMBS) as boolean
- method setWLANChannel(channel as CWChannelMBS, byref error as NSErrorMBS) as boolean
- method startIBSSModeWithSSID(ssidData as MemoryBlock, security as Integer, channel as Integer, password as string, byref error as NSErrorMBS) as boolean
- method supportedWLANChannels as CWChannelMBS()
- 4 shared methods
- shared method interfaceNames as String()
- shared method interfaceWithName(name as string) as CWInterfaceMBS
- shared method primaryInterface as CWInterfaceMBS
- shared method supportedInterfaces as String()
This class has no sub classes.
Some methods using this class:
- CWWiFiClientMBS.interfaces as CWInterfaceMBS()
- CWWiFiClientMBS.interfaceWithName(name as string) as CWInterfaceMBS
Some properties using for this class:
- CWWiFiClientMBS.CWInterface as CWInterfaceMBS
Some examples using this class:
Blog Entries
Release notes
- Version 24.2
- Removed a few deprecated methods in CWInterfaceMBS class, which Apple removed and so they stopped working years ago.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
CWConfigurationMBS - CWMutableConfigurationMBS
