예제 #1
0
        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);
        }
예제 #2
0
파일: MultipeerXT.cs 프로젝트: BiDuc/u3dxt
        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;
        }