Compartilhar via


NWTcpConnectionAuthenticationDelegate_Extensions.EvaluateTrustAsync Método

Definição

Quando implementado pelo desenvolvedor, retorna uma tarefa que substitui a avaliação de confiança padrão.

public static System.Threading.Tasks.Task<Security.SecTrust> EvaluateTrustAsync (this NetworkExtension.INWTcpConnectionAuthenticationDelegate This, NetworkExtension.NWTcpConnection connection, Foundation.NSArray peerCertificateChain);
static member EvaluateTrustAsync : NetworkExtension.INWTcpConnectionAuthenticationDelegate * NetworkExtension.NWTcpConnection * Foundation.NSArray -> System.Threading.Tasks.Task<Security.SecTrust>

Parâmetros

This
INWTcpConnectionAuthenticationDelegate

A instância na qual esse método de extensão opera.

connection
NWTcpConnection
peerCertificateChain
NSArray

Retornos

Aplica-se a