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

# XNetworking (API contents)

> XNetworking

Contains methods for the following features:

* Retrieving the preferred networking port for local multiplayer.
* Retrieving the list of certificate thumbprints from the Network Security Allow List (NSAL).

## Functions

| Function | Description |
| - | - |
| [XNetworkingConnectivityHintChangedCallback](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingconnectivityhintchangedcallback.md) | Gets called when the connectivity hint structure is changed. |
| [XNetworkingGetConnectivityHint](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkinggetconnectivityhint.md) | Queries for device-wide information about the current network connectivity level, data limits, interface type, and network initialization state. |
| [XNetworkingPreferredLocalUdpMultiplayerPortChangedCallback](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingpreferredlocaludpmultiplayerportchangedcallback.md) | Gets called when the preferred local multiplayer port is changed. |
| [XNetworkingQueryConfigurationSetting](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingqueryconfigurationsetting.md) | Retrieves the specified networking configuration setting's numeric value. |
| [XNetworkingQueryPreferredLocalUdpMultiplayerPort](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerypreferredlocaludpmultiplayerport.md) | Gets the preferred local UDP port to use for multiplayer traffic. |
| [XNetworkingQueryPreferredLocalUdpMultiplayerPortAsync](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerypreferredlocaludpmultiplayerportasync.md) | Gets the preferred local UDP port to use for multiplayer traffic asynchronously. |
| [XNetworkingQueryPreferredLocalUdpMultiplayerPortAsyncResult](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerypreferredlocaludpmultiplayerportasyncresult.md) | Gets the results from a QueryPreferredLocalUdpMultiplayerPortAsync call. |
| [XNetworkingQuerySecurityInformationForUrlAsync](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync.md) | Retrieves additional security information associated with a URL configured in the Universal Developer Portal for XBOX Live-enabled titles. |
| [XNetworkingQuerySecurityInformationForUrlAsyncResult](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md) | Gets the results from the XNetworkingQuerySecurityInformationForUrlAsync function. |
| [XNetworkingQuerySecurityInformationForUrlAsyncResultSize](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresultsize.md) | Gets the size of the results buffer from a QueryThumbprintsForUrlAsync call. |
| [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md) | Retrieves security information associated with an URL as configured in the Universal Developer Portal for XBOX Live enabled titles. |
| [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md) | Gets the buffer results from the XNetworkingQuerySecurityInformationForUrlUtf16Async function. |
| [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize.md) | Gets the size of the result buffer from the XNetworkingQuerySecurityInformationForUrlUtf16Async function. |
| [XNetworkingQueryStatistics](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingquerystatistics.md) | Retrieves the specified networking statistics into a caller provided buffer. |
| [XNetworkingRegisterConnectivityHintChanged](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingregisterconnectivityhintchanged.md) | Registers title to changes in device-wide information about current network connectivity level, data limits, interface type, and network initialization state. |
| [XNetworkingRegisterPreferredLocalUdpMultiplayerPortChanged](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingregisterpreferredlocaludpmultiplayerportchanged.md) | Registers a callback function to call when the preferred local UDP multiplayer port changes. |
| [XNetworkingSetConfigurationSetting](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingsetconfigurationsetting.md) | Modifies a specified networking configuration setting to the provided numeric value. |
| [XNetworkingUnregisterConnectivityHintChanged](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingunregisterconnectivityhintchanged.md) | Unregisters a callback function that was registered with XNetworkingRegisterConnectivityHintChanged. |
| [XNetworkingUnregisterPreferredLocalUdpMultiplayerPortChanged](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingunregisterpreferredlocaludpmultiplayerportchanged.md) | Unregisters a callback function that was registered with RegisterPreferredLocalUdpMultiplayerPortChanged. |
| [XNetworkingVerifyServerCertificate](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingverifyservercertificate.md) | Provides additional certificate chain validation. |

## Structures

| Structure | Description |
| - | - |
| [XNetworkingConnectivityHint](https://docs.xbox.com/reference/networking/xnetworking/structs/xnetworkingconnectivityhint.md) | Defines the current device-wide state of the network, including network connectivity level, data limits, interface type, and network initialization state. |
| [XNetworkingSecurityInformation](https://docs.xbox.com/reference/networking/xnetworking/structs/xnetworkingsecurityinformation.md) | Defines the security information used in configuring the HTTP stack for a specific URL endpoint. |
| [XNetworkingStatisticsBuffer](https://docs.xbox.com/reference/networking/xnetworking/structs/xnetworkingstatisticsbuffer.md) | A union declaring buffer space for holding all possible output structure types returned when querying networking statistics with XNetworkingQueryStatistics. |
| [XNetworkingTcpQueuedReceivedBufferUsageStatistics](https://docs.xbox.com/reference/networking/xnetworking/structs/xnetworkingtcpqueuedreceivedbufferusagestatistics.md) | The output structure returned when querying networking statistics with XNetworkingQueryStatistics and the TitleTcpQueuedReceivedBufferUsage, SystemTcpQueuedReceivedBufferUsage, or ToolsTcpQueuedReceivedBufferUsage XNetworkingStatisticsType values are specified. |
| [XNetworkingThumbprint](https://docs.xbox.com/reference/networking/xnetworking/structs/xnetworkingthumbprint.md) | Defines the certificate type, thumbprint, and thumbprint size. |

## Enumerations

| Enumeration | Description |
| - | - |
| [XNetworkingConfigurationSetting](https://docs.xbox.com/reference/networking/xnetworking/enums/xnetworkingconfigurationsetting.md) | Setting types for use with XNetworkingSetConfigurationSetting or XNetworkingQueryConfigurationSetting. |
| [XNetworkingConnectivityCostHint](https://docs.xbox.com/reference/networking/xnetworking/enums/xnetworkingconnectivitycosthint.md) | Defines data-limit classification hints for a device. |
| [XNetworkingConnectivityLevelHint](https://docs.xbox.com/reference/networking/xnetworking/enums/xnetworkingconnectivitylevelhint.md) | Defines connectivity level hints for a device. |
| [XNetworkingStatisticsType](https://docs.xbox.com/reference/networking/xnetworking/enums/xnetworkingstatisticstype.md) | Statistics types for use with XNetworkingQueryStatistics. |
| [XNetworkingThumbprintType](https://docs.xbox.com/reference/networking/xnetworking/enums/xnetworkingthumbprinttype.md) | Defines types of certificate thumbprints used in a title. |


## Related topics

- [Networking API reference (API contents)](https://docs.xbox.com/reference/networking/gc-reference-networking-toc.md)
- [XNetworkingVerifyServerCertificate](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingverifyservercertificate.md)
- [Networking (contents)](https://docs.xbox.com/build/console-features/networking/gc-networking-toc.md)
- [XNetworkingThumbprint](https://docs.xbox.com/reference/networking/xnetworking/structs/xnetworkingthumbprint.md)
- [WinHTTP overview](https://docs.xbox.com/build/console-features/networking/web-requests/intro-winhttp.md)
