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

# XNetworkingQuerySecurityInformationForUrlAsyncResultSize

> XNetworkingQuerySecurityInformationForUrlAsyncResultSize

# XNetworkingQuerySecurityInformationForUrlAsyncResultSize

Obtiene el tamaño del búfer de resultados de una llamada a [XNetworkingQuerySecurityInformationForUrlAsync](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync).

## Sintaxis

```cpp theme={null}
HRESULT XNetworkingQuerySecurityInformationForUrlAsyncResultSize(
         XAsyncBlock* asyncBlock,
         size_t* securityInformationBufferByteCount
)
```

### 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 [XNetworkingQuerySecurityInformationForUrlAsync](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync).

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

Tamaño, en bytes, del búfer de resultados.

### Valor devuelto

Tipo: HRESULT

Código HRESULT de éxito o de error.

## Comentarios

Esta función obtiene el tamaño del búfer de resultados de una llamada a `XNetworkingQuerySecurityInformationForUrlAsync`. El título debe pasar la misma estructura `XAsyncBlock` que se pasa a la función de consulta. El búfer es el búfer subyacente que usan todos los punteros del puntero de la estructura de información de seguridad. El título debe mantener el búfer válido mientras esté usando el puntero de la estructura de información de seguridad. Liberar y limpiar el búfer también limpia toda la memoria que usa el puntero de la estructura de información de seguridad. 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)\
[XNetworking](/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [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)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/es/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md)
