INDRegistrationCompletedEventArgs.TransmitterCertificateAccepted 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置是接受还是拒绝发送器的证书。
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 中设置相互身份验证标志时,接收方必须接受或拒绝发送器证书。