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

[XNetworkingQuerySecurityInformationForUrlAsync](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync) 호출로부터 결과 버퍼의 크기를 가져옵니다.

## 구문

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

### 매개 변수

*asyncBlock*   \_Inout\_\
형식: [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)\*

[XNetworkingQuerySecurityInformationForUrlAsync](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync) 함수에 전달된 [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) 구조체에 대한 포인터입니다.

*securityInformationBufferByteCount*   \_Out\_\
형식: size\_t\*

결과 버퍼의 크기(바이트 단위)입니다.

### 반환 값

형식: HRESULT

HRESULT 성공 또는 오류 코드입니다.

## 설명

이 함수는 `XNetworkingQuerySecurityInformationForUrlAsync` 호출로부터 결과 버퍼의 크기를 가져옵니다. 타이틀은 쿼리 함수에 전달된 것과 동일한 `XAsyncBlock` 구조체를 전달해야 합니다. 버퍼는 보안 정보 구조체 포인터의 모든 포인터가 사용하는 기본 버퍼입니다. 타이틀은 보안 정보 구조체 포인터를 사용하는 동안 버퍼를 유효한 상태로 유지해야 합니다. 버퍼를 해제하고 정리하면 보안 정보 구조체 포인터가 사용한 모든 메모리도 정리됩니다. Microsoft Game Development Kit (GDK) 타이틀의 네트워크 정보에 대해서는 [네트워크 정보 검색](/build/console-features/networking/initialization-connectivity-networking)을 참조하세요.

이 메서드는 호출 프로세스 내의 로컬 상태를 조사하고 빠르게 반환하므로, 시간에 민감한 컨텍스트에서 호출해도 안전합니다.

## 요구 사항

**헤더:** XNetworking.h

**라이브러리:** xgameruntime.lib

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 함께 보기

[HTTP 및 웹 소켓](/build/console-features/networking/web-requests/http-networking)\
[XNetworking](/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [XNetworkingQuerySecurityInformationForUrlAsyncResult](/ko/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)
- [XNetworking](/ko/reference/networking/xnetworking/xnetworking_members.md)
- [GDK용 Unity C# API 래퍼](/ko/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize](/ko/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/ko/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md)
