INDRegistrationCompletedEventArgs.TransmitterCertificateAccepted 属性

定义

获取或设置是接受还是拒绝发送器的证书。

public:
 property bool TransmitterCertificateAccepted { bool get(); void set(bool value); };
bool TransmitterCertificateAccepted();

void TransmitterCertificateAccepted(bool accept);
/// [get: Windows.Foundation.Metadata.Deprecated("INDRegistrationCompletedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("INDRegistrationCompletedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
bool TransmitterCertificateAccepted();

void TransmitterCertificateAccepted(bool accept);
public bool TransmitterCertificateAccepted { get; set; }
public bool TransmitterCertificateAccepted { [Windows.Foundation.Metadata.Deprecated("INDRegistrationCompletedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("INDRegistrationCompletedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")] set; }
var boolean = iNDRegistrationCompletedEventArgs.transmitterCertificateAccepted;
iNDRegistrationCompletedEventArgs.transmitterCertificateAccepted = boolean;
Public Property TransmitterCertificateAccepted As Boolean

属性值

Boolean

bool

验证发射机证书的结果。 如果接收方接受发送器证书,则此值为 true ;如果接收方拒绝该证书,则此值 为 false

属性

注解

NDStartAsyncOptions 中设置相互身份验证标志时,接收方必须接受或拒绝发送器证书。

适用于