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

# XNetworkingQuerySecurityInformationForUrlUtf16Async

> XNetworkingQuerySecurityInformationForUrlUtf16Async

# XNetworkingQuerySecurityInformationForUrlUtf16Async

Recupera la información de seguridad asociada a una dirección URL tal como está configurada en el Universal Developer Portal para títulos habilitados para XBOX Live.

## Sintaxis

```cpp theme={null}
HRESULT XNetworkingQuerySecurityInformationForUrlUtf16Async(
         const wchar_t* url,
         XAsyncBlock* asyncBlock
)
```

### Parámetros

*url*   \_In\_z\_\
Tipo: wchar\_t\*

Punto de conexión URL que recupera la lista de huellas digitales de certificados.

*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 [XAsyncRun](/reference/system/xasync/functions/xasyncrun).

### Valor devuelto

Tipo: HRESULT

Código HRESULT de éxito o de error de la llamada asincrónica.

## Comentarios

Esta función inicia una solicitud asincrónica de los certificados asociados a una dirección URL configurada para el título mediante el Universal Developer Portal. Esto permite que los títulos de Microsoft Game Development Kit (GDK) habilitados para XBOX Live realicen el anclaje de certificados para puntos de conexión de servicio personalizados específicos del título cuando se combina con la API [Windows HTTP Services (WinHTTP)](https://learn.microsoft.com/windows/desktop/winhttp/winhttp-start-page).

<Note>Al realizar solicitudes web personalizadas a los puntos de conexión del servicio XBOX Live, permita que la biblioteca XBOX Services API (XSAPI) realice automáticamente el anclaje de certificados.</Note>

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

## Documentación conceptual

* [Información general de WinHTTP](/build/console-features/networking/web-requests/intro-winhttp)

## Consulte también

[Recuperación de información de red](/build/console-features/networking/initialization-connectivity-networking)\
[XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult)\
[XNetworking](/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize](/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize.md)
- [XNetworkingSecurityInformation](/es/reference/networking/xnetworking/structs/xnetworkingsecurityinformation.md)
- [XNetworking](/es/reference/networking/xnetworking/xnetworking_members.md)
- [Información general de WinHTTP](/es/build/console-features/networking/web-requests/intro-winhttp.md)
