---
title: "readAttributeLastNetworkID(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusternetworkcommissioning/readattributelastnetworkid(completionhandler:)"
---

# readAttributeLastNetworkID(completionHandler:)

## Declaration

```swift
func readAttributeLastNetworkID(completionHandler: @escaping @Sendable (Data?, (any Error)?) -> Void)
```

```swift
func readAttributeLastNetworkID() async throws -> Data
```
