Instance Method

ssid()

The current service set identifier (SSID) for the interface, encoded as a string.

Declaration

func ssid() -> String?

Discussion

Dynamically queries the interface for the current SSID. Returns nil in the case of an error, or if the interface is not participating in a network, or if the SSID can not be encoded as a valid UTF-8 or WinLatin1 string.