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.ToolsAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- discoveryMethod
- Type: NetworkCommsDotNet.Tools PeerDiscovery DiscoveryMethod
[Missing <param name="discoveryMethod"/> documentation for "M:NetworkCommsDotNet.Tools.PeerDiscovery.DiscoverPeersAsync(NetworkCommsDotNet.Tools.PeerDiscovery.DiscoveryMethod)"]
See Also