---
title: "supportsSecurity(_:)"
framework: corewlan
role: symbol
role_heading: Instance Method
path: "corewlan/cwnetwork/supportssecurity(_:)"
---

# supportsSecurity(_:)

Method for determining which security types a network supports.

## Declaration

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

## Parameters

- `security`: The security type.

## Return Value

Return Value YES if the network supports the specified security type.
