---
title: WINetworkSharingAskToShareState
framework: wifiinfrastructure
role: symbol
role_heading: Enumeration
path: wifiinfrastructure/winetworksharingasktosharestate
---

# WINetworkSharingAskToShareState

The authorization state for sharing the current Wi-Fi network with an accessory.

## Declaration

```swift
enum WINetworkSharingAskToShareState
```

## Overview

Overview Use this type to track whether the person allowed the accessory to join the Wi-Fi network that the device is currently using.

## Topics

### Checking authorization state

- [WINetworkSharingAskToShareState.undetermined](wifiinfrastructure/winetworksharingasktosharestate/undetermined.md)
- [WINetworkSharingAskToShareState.denied](wifiinfrastructure/winetworksharingasktosharestate/denied.md)
- [WINetworkSharingAskToShareState.approved](wifiinfrastructure/winetworksharingasktosharestate/approved.md)

## Relationships

### Conforms To

- [CaseIterable](swift/caseiterable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Network sharing

- [WINetworkSharingController](wifiinfrastructure/winetworksharingcontroller.md)
- [WINetworkSharingProvider](wifiinfrastructure/winetworksharingprovider.md)
