<!--
{
  "availability" : [
    "iOS: 26.2.0 -",
    "iPadOS: 26.2.0 -",
    "macCatalyst: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiInfrastructure",
  "identifier" : "/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Wi-Fi Infrastructure"
    ],
    "preciseIdentifier" : "s:18WiFiInfrastructure24WINetworkSharingProviderC7NetworkV"
  },
  "title" : "WINetworkSharingProvider.Network"
}
-->

# WINetworkSharingProvider.Network

A Wi-Fi network to share with a connected accessory.

```
struct Network
```

## Topics

### Identifying a network

[`id`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/id-swift.property)

A stable identifier that uniquely identifies this network.

[`ID`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/ID-swift.struct)

An opaque identifier for a given network.

### Getting the network SSID

[`ssid`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/ssid)

The Service Set Identifier (SSID) of the network, also known as the network name.

[`isSSIDBroadcast`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/isSSIDBroadcast)

A Boolean value indicating whether the access point broadcasts the SSID.

### Getting the network credentials

[`securityPolicy`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/securityPolicy-swift.property)

The set of security types allowed for connecting to this network.

[`SecurityPolicy`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/SecurityPolicy-swift.enum)

The security policies allowed for connecting to a Wi-Fi network.

[`credentials`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/credentials-swift.property)

The credentials the accessory needs to connect to this network.

[`Credentials`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/Credentials-swift.enum)

Credentials for authenticating to a Wi-Fi network.

[`captivePortalLogin`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/captivePortalLogin-swift.property)

The captive portal login information for the network.

[`CaptivePortalLogin`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/CaptivePortalLogin-swift.struct)

Captive portal login information for a Wi-Fi network.

### Getting the date

[`lastModified`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/lastModified)

The date when this network was last modified.

[`firstShared`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/firstShared)

The date when this network was first shared to the accessory.

### Getting a network description

[`description`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/Network/description)

A string description of the network, for debugging purposes.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Decodable`](/documentation/Swift/Decodable)

[`Identifiable`](/documentation/Swift/Identifiable)

[`Equatable`](/documentation/Swift/Equatable)

[`Encodable`](/documentation/Swift/Encodable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)