---
title: security
framework: corewlan
role: symbol
role_heading: Instance Property
path: corewlan/cwnetworkprofile/security
---

# security

The security mode for the network profile.

## Declaration

```swift
var security: CWSecurity { get }
```

## See Also

### Instance Properties

- [ssid](corewlan/cwnetworkprofile/ssid.md)
- [ssidData](corewlan/cwnetworkprofile/ssiddata.md)
