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

# XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult

> XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult

# XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult

Obtiene los resultados del búfer de la función [XNetworkingQuerySecurityInformationForUrlUtf16Async](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async).

## 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](/reference/system/xasync/structs/xasyncblock)\*

Puntero a la estructura [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) que se pasa a la función [XNetworkingQuerySecurityInformationForUrlUtf16Async](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async).

*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](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize). 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](/reference/networking/xnetworking/structs/xnetworkingsecurityinformation)\*\*

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](/build/console-features/networking/initialization-connectivity-networking).

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](/build/console-features/networking/web-requests/http-networking)\
[XNetworkingQuerySecurityInformationForUrlAsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult)\
[XNetworking](/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [XNetworkingQuerySecurityInformationForUrlUtf16Async](/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md)
- [XNetworkingQuerySecurityInformationForUrlAsyncResult](/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)
- [XNetworking](/es/reference/networking/xnetworking/xnetworking_members.md)
- [Contenedores de API de C# de Unity para el GDK](/es/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize](/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize.md)
