> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PlayFabMultiplayerManager.NetworkId

> Reference for PlayFabMultiplayerManager.NetworkId in the Party Unity SDK, returning the identifier of the Party network to which the local player is connected.

# NetworkId

Returns NetworkID of the current network to which the player is connected. The other players can use this string to join the network. The NetworkId is populated when the `OnNetworkJoined` event fires. The NetworkId is cleared when the `OnNetworkLeft` event fires.

```csharp theme={null}
public string PlayFabMultiplayerManager.NetworkId { get; }
```

## Property Value

NetworkId

[string](https://learn.microsoft.com/en-us/dotnet/api/system.string?view=netcore-3.1\&preserve-view=true)

## Remarks

The **NetworkID**, is an opaque serialized network descriptor string generated by the PlayFab Party library that enables each PlayFab Party Unity client to connect to a Party network after one has been created. This string will never contain non-ASCII characters, control characters, or other characters that would require JSON or XML escaping.


## Related topics

- [Class PlayFabMultiplayerManager](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/index.md)
- [PlayFabMultiplayerManager.State](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunitystate.md)
- [PlayFabMultiplayerManager.Get](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityget.md)
- [PlayFabMultiplayerManager.Get().LeaveNetwork](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityleavenetwork.md)
- [PlayFabMultiplayerManager.Get().CreateAndJoinNetwork](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitycreateandjoinnetwork.md)
