Share via


WiFiDirectService.PreferGroupOwnerMode Property

Definition

Gets or sets a value specifying whether the service instance should choose Wi-Fi Direct Point to Point (P2P) Group Owner (GO) mode.

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

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

Property Value

Boolean

bool

When true, prefer GO mode.

Applies to