AllJoynAcceptSessionJoinerEventArgs.SameNetwork 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.
Important
The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.
Indicates if the app joining the session is on the same network.
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
Property Value
bool
True if on the same network; otherwise, false.
- Attributes
Windows requirements
App capabilities |
allJoyn
|