Instance Method

security()

The current security mode for the interface.

Declaration

func security() -> CWSecurity

Discussion

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.