Freigeben über


AllJoynAcceptSessionJoinerEventArgs.SameNetwork Eigenschaft

Definition

Wichtig

Die Typen im Windows.Devices.AllJoyn-Namespace sind veraltet und in zukünftigen Versionen von Windows möglicherweise nicht verfügbar. AllJoyn – gesponsert von AllSeen Alliance – war ein Open-Source-Ermittlungs- und Kommunikationsprotokoll für IoT-Szenarien (Internet of Things), z. B. das Einschalten und Deaktivieren von Lichtern und lesetemperaturen. Alternativen wie IoTivity Lite und IoTivity finden Sie auf der website iotivity.org .

Gibt an, ob sich die App, die der Sitzung beitritt, im selben Netzwerk befindet.

public:
 property bool SameNetwork { bool get(); };
bool SameNetwork();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynAcceptSessionJoinerEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
bool SameNetwork();
public bool SameNetwork { get; }
public bool SameNetwork { [Windows.Foundation.Metadata.Deprecated("AllJoynAcceptSessionJoinerEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = allJoynAcceptSessionJoinerEventArgs.sameNetwork;
Public ReadOnly Property SameNetwork As Boolean

Eigenschaftswert

Boolean

bool

True, wenn sich im selben Netzwerk befindet; Andernfalls false.

Attribute

Windows-Anforderungen

App-Funktionen
allJoyn

Gilt für: