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

如此 如果 Miracast 发送器应要求授权,而 Miracast 接收器已经知道。

注解

授权方法通过 AuthorizationMethod 进行配置。 如果以前收到 Miracast 连接且未被拒绝,则 Miracast 发送器将变为已知。 使用 MiracastReceiver.RemoveKnownTransmitterMiracastReceiver.ClearKnownTransmitters 管理已知 Miracast 发送器的列表。

适用于

另请参阅