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