PeerDiscovery DiscoverPeersAsync Method NetworkComms.Net Help
Discover local peers using the provided PeerDiscovery DiscoveryMethod asynchronously. Makes a single async request for peers to announce. Ensure that you append to the OnPeerDiscovered event to handle discovered peers. IMPORTANT NOTE: For IP networks we strongly recommend using the UDP broadcast discovery method.

Namespace: NetworkCommsDotNet.Tools
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public static void DiscoverPeersAsync(
	PeerDiscovery..::..DiscoveryMethod discoveryMethod
)

Parameters

discoveryMethod
Type: NetworkCommsDotNet.Tools PeerDiscovery DiscoveryMethod

[Missing <param name="discoveryMethod"/> documentation for "M:NetworkCommsDotNet.Tools.PeerDiscovery.DiscoverPeersAsync(NetworkCommsDotNet.Tools.PeerDiscovery.DiscoveryMethod)"]

See Also