security()
The current security mode for the interface.
Declaration
func security() -> CWSecurityDiscussion
Dynamically queries the interface for the security mode. Returns kCWSecurityUnknown in the case of an error, or if the interface is not participating in a network.