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

# XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult

> XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult

# XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult

Obtiene los resultados del búfer de la función [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md).

## Sintaxis

```cpp theme={null}
HRESULT XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult(
         XAsyncBlock* asyncBlock,
         size_t securityInformationBufferByteCount,
         size_t* securityInformationBufferByteCountUsed,
         uint8_t* securityInformationBuffer,
         XNetworkingSecurityInformation** securityInformation
)
```

### Parámetros

*asyncBlock*   \_Inout\_\
Tipo: [XAsyncBlock](https://docs.xbox.com/es/reference/system/xasync/structs/xasyncblock.md)\*

Puntero a la estructura [XAsyncBlock](https://docs.xbox.com/es/reference/system/xasync/structs/xasyncblock.md) que se pasa a la función [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md).

*securityInformationBufferByteCount*   \_In\_\
Tipo: size\_t

Tamaño, en bytes, que se va a asignar para el búfer de resultados. Estos datos se obtienen llamando a la función [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize](https://docs.xbox.com/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize.md). Como alternativa, si ha asignado previamente un búfer de resultados grande, puede pasar el tamaño del búfer asignado previamente.

*securityInformationBufferByteCountUsed*   \_Out\_opt\_\
Tipo: size\_t\*

Puntero al tamaño, en bytes, del búfer de resultados real.

*securityInformationBuffer*   \_Out\_writes\_bytes\_to\_(securityInformationBufferByteCount,\*securityInformationBufferByteCountUsed)\
Tipo: uint8\_t\*

Puntero al búfer que contiene los resultados de huellas digitales.

*securityInformation*   \_Outptr\_\
Tipo: [XNetworkingSecurityInformation](https://docs.xbox.com/es/reference/networking/xnetworking/structs/xnetworkingsecurityinformation.md)\*\*

Puntero a la lista de huellas digitales de certificados devuelta desde la lista de permitidos de seguridad de red (NSAL).

### Valor devuelto

Tipo: HRESULT

Código HRESULT de éxito o de error.

## Comentarios

Esta función obtiene los resultados del búfer llamando a la función `XNetworkingQuerySecurityInformationForUrlUtf16Async`. El número de bytes asignados al búfer de resultados se determina mediante el puntero *securityInformationBufferByteCount*. El número real de bytes del búfer de resultados se determina mediante el puntero *securityInformationBufferByteCountUsed*. Los resultados de huellas digitales y la lista de huellas digitales de certificados devuelta desde la NSAL se determinan mediante el puntero *securityInformationBuffer* y el puntero *securityInformation*. Para obtener información de red en títulos de Microsoft Game Development Kit (GDK), consulte [Recuperación de información de red](https://docs.xbox.com/es/build/console-features/networking/initialization-connectivity-networking.md).

Este método consulta el estado local dentro del proceso que realiza la llamada y se devuelve rápidamente, por lo que es seguro llamarlo desde contextos con restricciones de tiempo.

## Requisitos

**Encabezado:** XNetworking.h

**Biblioteca:** xgameruntime.lib

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

[HTTP y WebSockets](https://docs.xbox.com/es/build/console-features/networking/web-requests/http-networking.md)\
[XNetworkingQuerySecurityInformationForUrlAsyncResult](https://docs.xbox.com/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)\
[XNetworking](https://docs.xbox.com/es/reference/networking/xnetworking/xnetworking_members.md)


## Related topics

- [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md)
- [XNetworkingQuerySecurityInformationForUrlAsyncResult](https://docs.xbox.com/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)
- [XNetworking (contenido de la API)](https://docs.xbox.com/es/reference/networking/xnetworking/xnetworking_members.md)
- [Uso de contenedores de C# para las API del GDK en el proyecto de Unity](https://docs.xbox.com/es/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize](https://docs.xbox.com/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize.md)
