文档

Unity Engine

Unity Engine

CertificateHandler

Holds a reference to a UnityHttpMessageHandler.CertificateHandler object, which manages certificate validation for the underlying UnityWebRequest that this UnityHttpMessageHandler creates.
阅读时间1 分钟最后更新于 1 个月前

Definition

public CertificateHandler CertificateHandler { get; set; }

Remarks

Setting this property to
null
makes the platform use the default certificate validation, which validates certificates against a root certificate authority store (most commonly Operating System store).
Not all platforms support certificate validation callbacks. Refer to UnityHttpMessageHandler.CertificateHandler for a list of supported platforms.
Default value:
null
.