> ## 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.

# client_connected_to_network

> client_connected_to_network event.

This event is triggered when a client connects to a network.

## Properties

| Name                | Type   | Description                                                                                              |
| :------------------ | :----- | :------------------------------------------------------------------------------------------------------- |
| ClientInstanceId    | String | The client-generated globally unique identifier of this instance of the Party library.                   |
| NetworkIdentifier   | String | The network's unique identifier.                                                                         |
| RegionName          | String | The region name associated with the underlying relay for the network.                                    |
| HostName            | String | The hostname of the relay the client is connecting to.                                                   |
| Port                | uint16 | The port the client is connecting to.                                                                    |
| ConnectDurationInMs | uint32 | The duration of the isolated connection operation in milliseconds.                                       |
| TotalDurationInMs   | uint32 | The duration of the connection operation and all associated operations queued before it in milliseconds. |
| LocalConnectionId   | uint32 | A local identifier to disambiguate multiple connections to the same network from a single client.        |
| Result              | int32  | The PartyStateChangeResult of the operation.                                                             |
| ResultMessage       | String | A human-readable representation of the Result value.                                                     |
| ErrorDetail         | uint32 | The PartyError error detail code.                                                                        |

## Common Properties

All V2 PlayStream events are formatted as JSON objects and most share the following common properties:

| Name               | Type                                                                          | Description                                                                               |
| :----------------- | :---------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------- |
| SchemaVersion      | String                                                                        | PlayStream event format version, following a semantic versioning scheme.                  |
| FullName           | [Object](/services/playfab/api-references/events/data-types/fullnameobject)   | Combination of the event name and event namespace to fully specify the event type.        |
| Id                 | String                                                                        | PlayFab-assigned unique identifier for this event.                                        |
| Timestamp          | DateTime                                                                      | The time (in UTC) associated with this event.                                             |
| Entity             | [Object](/services/playfab/api-references/events/data-types/entityobject)     | Details about the entity to which this event applies including Entity Id and Entity type. |
| Originator         | [Object](/services/playfab/api-references/events/data-types/originatorobject) | Object describing the source and source type that initiated this event.                   |
| PayloadContentType | String                                                                        | Specifies the content of the event payload. Default is "JSON".                            |
| Origin Info        | Object                                                                        | Optional field containing info about events originating outside of PlayFab.               |


## Related topics

- [PlayStream event model reference for PlayFab](/services/playfab/api-references/events/index.md)
- [Connected Storage](/services/xbox-services/storage/connected-storage/live-connected-storage-nav.md)
- [IXtfConsoleControlClient::QueryConnectedStandby](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_queryconnectedstandby.md)
- [IXtfConsoleControlClient::QueryConnectedStandbyEx](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_queryconnectedstandbyex.md)
- [Connected Storage VS. Title Storage](/services/xbox-services/storage/live-connected-storage-vs-title-storage.md)
