internal static bool OnSessionDidReceiveCertificate(MCSession session, object[] certificate, MCPeerID peerID) { SessionDidReceiveCertificateEventArgs certArgs = new SessionDidReceiveCertificateEventArgs(session, certificate, peerID); if (_sessionDidReceiveCertificateHandlers != null) { _sessionDidReceiveCertificateHandlers(null, certArgs); } return(certArgs.acceptCertificate); }
internal static bool OnSessionDidReceiveCertificate(MCSession session, object[] certificate, MCPeerID peerID) { SessionDidReceiveCertificateEventArgs certArgs = new SessionDidReceiveCertificateEventArgs(session, certificate, peerID); if (_sessionDidReceiveCertificateHandlers != null) _sessionDidReceiveCertificateHandlers(null, certArgs); return certArgs.acceptCertificate; }