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

# XNetworkingThumbprint

> XNetworkingThumbprint

# XNetworkingThumbprint

定义证书类型、指纹和指纹大小。

## 语法

```cpp theme={null}
typedef struct XNetworkingThumbprint {  
    XNetworkingThumbprintType thumbprintType;  
    size_t thumbprintBufferByteCount;  
    uint8_t* thumbprintBuffer;  
} XNetworkingThumbprint  
```

### 成员

*thumbprintType*\
类型：[XNetworkingThumbprintType](/reference/networking/xnetworking/enums/xnetworkingthumbprinttype)

指示该指纹的证书类型。

*thumbprintBufferByteCount*\
类型：size\_t

指示指纹缓冲区的大小。

*thumbprintBuffer*\
类型：uint8\_t\*

包含证书指纹信息的缓冲区。

## 备注

此结构体定义证书类型、指纹和指纹大小。可通过调用 [XNetworkingQuerySecurityInformationForUrlAsync](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync) 函数来检索证书指纹。有关 Microsoft 游戏开发工具包 (GDK) 游戏中的网络信息，请参阅[检索网络信息](/build/console-features/networking/initialization-connectivity-networking)。

## 要求

**头文件：** XNetworking.h

**支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[XNetworking](/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [XNetworkingThumbprintType](/zh-CN/reference/networking/xnetworking/enums/xnetworkingthumbprinttype.md)
- [XNetworkingSecurityInformation](/zh-CN/reference/networking/xnetworking/structs/xnetworkingsecurityinformation.md)
- [XNetworking](/zh-CN/reference/networking/xnetworking/xnetworking_members.md)
- [GameCertificateDeployed](/zh-CN/services/playfab/api-references/events/data-types/gamecertificatedeployed.md)
- [Make package (makepkg.exe)](/zh-CN/build/core-features/common/packaging/deployment/makepkg.md)
