PeerDiscovery DiscoverPeers Method (PeerDiscovery DiscoveryMethod, Int32)NetworkComms.Net Help
Discover local peers using the provided PeerDiscovery DiscoveryMethod. Returns dictionary keyed on peer network identifier. 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 Dictionary<ShortGuid, Dictionary<ConnectionType, List<EndPoint>>> DiscoverPeers(
	PeerDiscovery..::..DiscoveryMethod discoveryMethod,
	int discoverTimeMS
)

Return Value

Type: OnlineDictionary ShortGuid, OnlineDictionary ConnectionType, OnlineList OnlineEndPoint   

[Missing <returns> documentation for "M:NetworkCommsDotNet.Tools.PeerDiscovery.DiscoverPeers(NetworkCommsDotNet.Tools.PeerDiscovery.DiscoveryMethod,System.Int32)"]

See Also