---
title: matchEthernet
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/neapppushmanager/matchethernet
---

# matchEthernet

A property that indicates Ethernet support for Local Push Connectivity.

## Declaration

```swift
var matchEthernet: Bool { get set }
```

## Discussion

Discussion If this value is true (Swift) or YES (Objective-C), the system starts the NEAppPushProvider when the following criteria are true: The iOS device is connected to an Ethernet network. The Ethernet network is the primary route on the device. Have your NEAppPushProvider determine that its functionality is viable on the network. If the network doesn’t support the provider running over Ethernet, your provider needs to call unmatchEthernet() to stop itself.
