---
title: currentPath
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nwudpsession/currentpath
---

# currentPath

The current evaluated path for the session’s resolvedEndpoint property.

## Declaration

```swift
var currentPath: NWPath? { get }
```

## Discussion

Discussion Use Key-Value Observing (KVO) to watch for changes to this property. For information about KVO, see Key-Value Observing Programming Guide.

## See Also

### Getting session properties

- [endpoint](networkextension/nwudpsession/endpoint.md)
