共用方式為


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中設定相互驗證旗標時,接收者必須接受或拒絕傳送器憑證。

適用於