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.

Exception Condition
ObjectDisposedException

The Peer object has been disposed.

.NET Framework
Available since 3.5
Return to top
Show: