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

# XNetworkingQuerySecurityInformationForUrlAsyncResult

> XNetworkingQuerySecurityInformationForUrlAsyncResult

# XNetworkingQuerySecurityInformationForUrlAsyncResult

[XNetworkingQuerySecurityInformationForUrlAsync](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync) 함수의 결과를 가져옵니다.

## 구문

```cpp theme={null}
HRESULT XNetworkingQuerySecurityInformationForUrlAsyncResult(
         XAsyncBlock* asyncBlock,
         size_t securityInformationBufferByteCount,
         size_t* securityInformationBufferByteCountUsed,
         uint8_t* securityInformationBuffer,
         XNetworkingSecurityInformation** securityInformation
)
```

### 매개 변수

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

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

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

결과 버퍼에 할당할 크기(바이트 단위)입니다. 이 데이터는 [XNetworkingQuerySecurityInformationForUrlAsyncResultSize](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresultsize)를 호출하여 얻습니다. 또는 큰 결과 버퍼를 미리 할당해 두었다면, 미리 할당된 버퍼의 크기를 전달할 수 있습니다.

*securityInformationBufferByteCountUsed*   \_Out\_opt\_\
형식: size\_t\*

실제 결과 버퍼의 크기(바이트 단위)에 대한 포인터입니다.

*securityInformationBuffer*   \_Out\_writes\_bytes\_to\_(securityInformationBufferByteCount,\*securityInformationBufferByteCountUsed)\
형식: uint8\_t\*

지문(thumbprint) 결과가 포함된 버퍼에 대한 포인터입니다.

*securityInformation*   \_Outptr\_\
형식: [XNetworkingSecurityInformation](/reference/networking/xnetworking/structs/xnetworkingsecurityinformation)\*\*

Network Security Allow List (NSAL)에서 반환된 인증서 지문 목록에 대한 포인터입니다.

### 반환 값

형식: HRESULT

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

## 설명

이 함수는 [XNetworkingQuerySecurityInformationForUrlAsync](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync) 함수의 결과를 가져옵니다. 이 함수의 포인터는 결과 버퍼에 할당된 크기(바이트 단위), 버퍼 바이트 크기의 실제 결과, 지문 결과가 포함된 버퍼, 그리고 NSAL에서 반환된 인증서 지문 목록을 결정합니다.

버퍼는 보안 정보 구조체 포인터의 모든 포인터가 사용하는 기본 버퍼입니다. 타이틀은 보안 정보 구조체 포인터를 사용하는 동안 버퍼를 유효한 상태로 유지해야 합니다. 버퍼를 해제하고 정리하면 보안 정보 구조체 포인터가 사용한 모든 메모리도 정리됩니다. 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)\
[XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult)\
[XNetworking](/reference/networking/xnetworking/xnetworking_members)


## Related topics

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