Discover local peers using the provided PeerDiscovery DiscoveryMethod and default discover time. Returns
dictionary keyed on peer network identifier. 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
The PeerDiscovery DiscoveryMethod to use for discovering peers.
Return Value
Type: Dictionary ShortGuid, Dictionary ConnectionType, List EndPoint[Missing <returns> documentation for "M:NetworkCommsDotNet.Tools.PeerDiscovery.DiscoverPeers(NetworkCommsDotNet.Tools.PeerDiscovery.DiscoveryMethod)"]
See Also