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

# XNetworkingQuerySecurityInformationForUrlAsync

> XNetworkingQuerySecurityInformationForUrlAsync

# XNetworkingQuerySecurityInformationForUrlAsync

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

## Sintaxis

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

### Parámetros

*url*   \_In\_z\_\
Tipo: char\*

Dirección URL de la información de seguridad y de 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 la información de seguridad asociada a una dirección URL que se configuró para un 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). También es necesario al realizar cualquier solicitud web personalizada a los puntos de conexión del servicio XBOX Live. La biblioteca XBOX Services API (XSAPI) controla este requisito automáticamente.

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

[Recuperación de información de red](/build/console-features/networking/initialization-connectivity-networking)\
[HTTP y WebSockets](/build/console-features/networking/web-requests/http-networking)\
[XNetworking](/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [XNetworkingQuerySecurityInformationForUrlAsyncResult](/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)
- [XNetworkingQuerySecurityInformationForUrlAsyncResultSize](/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresultsize.md)
- [XNetworkingSecurityInformation](/es/reference/networking/xnetworking/structs/xnetworkingsecurityinformation.md)
- [XNetworking](/es/reference/networking/xnetworking/xnetworking_members.md)
- [XNetworkingThumbprint](/es/reference/networking/xnetworking/structs/xnetworkingthumbprint.md)
