Share via


WiFiDirectServiceAdvertiser.PreferGroupOwnerMode Property

Definition

Gets or sets a value indicating whether the service requires that it be the Wi-Fi Direct Peer to Peer (P2P) Group Owner.

Being the Group Owner enables the service to exercise more control over the P2P connection configuration and the connection process. For details, see the Wi-Fi Direct P2P Technical Specifications, available from the Wi-Fi Alliance.

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

void PreferGroupOwnerMode(bool value);
public bool PreferGroupOwnerMode { get; set; }
var boolean = wiFiDirectServiceAdvertiser.preferGroupOwnerMode;
wiFiDirectServiceAdvertiser.preferGroupOwnerMode = boolean;
Public Property PreferGroupOwnerMode As Boolean

Property Value

Boolean

bool

If true, the service must be the Group Owner (GO) of the Peer to Peer (P2P) connection between seeker and service. If false, the service will accept connections whether it is the GO or not.

Applies to