NWTcpConnectionAuthenticationDelegate.ProvideIdentity 方法

定义

调用的方法以提供标识和可选证书。

[Foundation.Export("provideIdentityForConnection:completionHandler:")]
public virtual void ProvideIdentity (NetworkExtension.NWTcpConnection connection, Action<Security.SecIdentity,Foundation.NSArray> completion);
abstract member ProvideIdentity : NetworkExtension.NWTcpConnection * Action<Security.SecIdentity, Foundation.NSArray> -> unit
override this.ProvideIdentity : NetworkExtension.NWTcpConnection * Action<Security.SecIdentity, Foundation.NSArray> -> unit

参数

connection
NWTcpConnection
completion
Action<SecIdentity,NSArray>
属性

适用于