MCSessionDelegate.DidReceiveCertificate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates peerID
wishes to join the session
. certificateHandler
must be called.
[Foundation.Export("session:didReceiveCertificate:fromPeer:certificateHandler:")]
public virtual bool DidReceiveCertificate (MultipeerConnectivity.MCSession session, Security.SecCertificate[] certificate, MultipeerConnectivity.MCPeerID peerID, Action<bool> certificateHandler);
abstract member DidReceiveCertificate : MultipeerConnectivity.MCSession * Security.SecCertificate[] * MultipeerConnectivity.MCPeerID * Action<bool> -> bool
override this.DidReceiveCertificate : MultipeerConnectivity.MCSession * Security.SecCertificate[] * MultipeerConnectivity.MCPeerID * Action<bool> -> bool
Parameters
- session
- MCSession
- peerID
- MCPeerID
Returns
- Attributes
Remarks
When overriding this method, the application developer must invoke the certificateHandler
, passing in true
if the peer should be accepted to the session
.
The Multipeer Connectivity framework makes no attempt to validate passed certificates. It is the application developer's responsibility to ensure their validity.