---
title: interfaceNames()
framework: corewlan
role: symbol
role_heading: Type Method
path: corewlan/cwwificlient/interfacenames()-swift.type.method
---

# interfaceNames()

Returns the list of the names of available Wi-Fi interfaces.

## Declaration

```swift
class func interfaceNames() -> [String]?
```

## Return Value

Return Value An array of strings representing the names of the available Wi-Fi interfaces in the system. Any one of these names can be used with the interface(withName:) method to obtain a reference to the corresponding CWInterface instance.

## See Also

### Getting Interfaces

- [interface()](corewlan/cwwificlient/interface().md)
- [interface(withName:)](corewlan/cwwificlient/interface(withname:).md)
- [interfaces()](corewlan/cwwificlient/interfaces().md)
