Peer.IsOnline Property

Gets a value specifying if the Peer is currently 'online'.

Namespace:  System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

public bool IsOnline { get; }

Property Value

Type: System.Boolean
Returns true if the Peer is online at any of the endpoints associated with it; otherwise false.
Unless specified, the default value for this property is null.

ExceptionCondition
ObjectDisposedException

The Peer object has been disposed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft