<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreWLAN",
  "identifier" : "/documentation/CoreWLAN/CWNetwork/supportsSecurity(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core WLAN"
    ],
    "preciseIdentifier" : "c:objc(cs)CWNetwork(im)supportsSecurity:"
  },
  "title" : "supportsSecurity(_:)"
}
-->

# supportsSecurity(_:)

Method for determining which security types a network supports.

```
func supportsSecurity(_ security: CWSecurity) -> Bool
```

## Parameters

`security`

The security type.

## Return Value

*YES* if the network supports the specified security type.

---

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)