---
title: shared()
framework: networkextension
role: symbol
role_heading: Type Method
path: networkextension/nevpnmanager/shared()
---

# shared()

Access the single instance of NEVPNManager.

## Declaration

```swift
class func shared() -> NEVPNManager
```

## Return Value

Return Value The NEVPNManager instance for the calling application.

## See Also

### Managing VPN configurations

- [loadFromPreferences(completionHandler:)](networkextension/nevpnmanager/loadfrompreferences(completionhandler:).md)
- [saveToPreferences(completionHandler:)](networkextension/nevpnmanager/savetopreferences(completionhandler:).md)
- [setAuthorization(_:)](networkextension/nevpnmanager/setauthorization(_:).md)
- [removeFromPreferences(completionHandler:)](networkextension/nevpnmanager/removefrompreferences(completionhandler:).md)
