<!--
{
  "availability" : [
    "macOS: 10.6.0 - 10.10.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreWLAN",
  "identifier" : "/documentation/CoreWLAN/CWInterface/interfaceNames()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core WLAN"
    ],
    "preciseIdentifier" : "c:objc(cs)CWInterface(cm)interfaceNames"
  },
  "title" : "interfaceNames()"
}
-->

# interfaceNames()

Returns the list of BSD names for WLAN interfaces available on the current system.

```
class func interfaceNames() -> Set<String>?
```

## Return Value

An NSSet object containing NSString objects representing BSD interface names.

## Discussion

Returns an NSArray of NSString objects 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 *nil* in the case of an error.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)