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

# CWNetworkProfile

Encapsulates an immutable network profile entry.

```
class CWNetworkProfile
```

## Topics

### Getting a network profile

[`init()`](/documentation/CoreWLAN/CWNetworkProfile/init())

Creates and returns a CWNetworkProfile object.

[`init(networkProfile:)`](/documentation/CoreWLAN/CWNetworkProfile/init(networkProfile:))

Creates and returns a CWNetworkProfile object initialized with the given CWNetworkProfile object.

[`networkProfile`](/documentation/CoreWLAN/CWNetworkProfile/networkProfile)

Convenience method for getting a CWNetworkProfile object.

[`networkProfileWithNetworkProfile:`](/documentation/CoreWLAN/CWNetworkProfile/networkProfileWithNetworkProfile:)

Convenience method for getting a CWNetworkProfile object initialized with the given CWNetworkProfile object.

### Comparing network profiles

[`isEqual(to:)`](/documentation/CoreWLAN/CWNetworkProfile/isEqual(to:))

Determine CWNetworkProfile object equality.

### Instance Properties

[`security`](/documentation/CoreWLAN/CWNetworkProfile/security)

The security mode for the network profile.

[`ssid`](/documentation/CoreWLAN/CWNetworkProfile/ssid)

The service set identifier (SSID) for the network profile, encoded as a string.

[`ssidData`](/documentation/CoreWLAN/CWNetworkProfile/ssidData)

The service set identifier (SSID) for the network profile, returned as data.



---

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)