WiFiDirectServiceAdvertiser.AutoAcceptSession Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Auto Accept property for this service advertisement.
public:
property bool AutoAcceptSession { bool get(); void set(bool value); };
bool AutoAcceptSession();
void AutoAcceptSession(bool value);
public bool AutoAcceptSession { get; set; }
var boolean = wiFiDirectServiceAdvertiser.autoAcceptSession;
wiFiDirectServiceAdvertiser.autoAcceptSession = boolean;
Public Property AutoAcceptSession As Boolean
Property Value
Boolean
bool
When true, then the service automatically accepts all requests from service seekers to establish a session. If this value is false, then the service must actively accept a session request when the SessionRequested event is raised.