PeerNameRegistration::IsRegistered Method ()

 

Gets or sets whether the peer name specified in the PeerName property is registered with a specific Cloud on a host.

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

public:
bool IsRegistered()

Return Value

Type: System::Boolean

If true, the peer name is registered with a Cloud for the peer host. If false, then the registration process can be started with Start.

Exception Condition
ObjectDisposedException

An object that has been disposed already cannot be registered.

.NET Framework
Available since 3.5
Return to top
Show: