共用方式為


MiracastReceiverSettings.RequireAuthorizationFromKnownTransmitters 屬性

定義

指定 Miracast 傳送器是否應該要求已知道 Miracast 接收者的授權。

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

void RequireAuthorizationFromKnownTransmitters(bool value);
public bool RequireAuthorizationFromKnownTransmitters { get; set; }
var boolean = miracastReceiverSettings.requireAuthorizationFromKnownTransmitters;
miracastReceiverSettings.requireAuthorizationFromKnownTransmitters = boolean;
Public Property RequireAuthorizationFromKnownTransmitters As Boolean

屬性值

Boolean

bool

True 是表示 如果 Miracast 傳輸器應該需要授權,且 Miracast 接收者已經知道。

備註

授權方法是透過 AuthorizationMethod 設定。 如果先前收到 Miracast 連線,而且未遭到拒絕,Miracast 傳輸器就會變成已知。 使用 MiracastReceiver.RemoveKnownTransmitterMiracastReceiver.ClearKnownTransmitters 來管理已知的 Miracast 傳輸器清單。

適用於

另請參閱