Interface ILocalPeerDiscovery
Inherited Members
Namespace: MonoTorrent.Client
Assembly: MonoTorrent.dll
Syntax
public interface ILocalPeerDiscovery : ISocketListener, IListener
Methods
Announce(InfoHash)
Send an announce request for this InfoHash to all available network adapters.
Declaration
Task Announce(InfoHash infoHash)
Parameters
| Type | Name | Description |
|---|---|---|
| InfoHash | infoHash |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Events
PeerFound
This event is raised whenever a peer is discovered.
Declaration
event EventHandler<LocalPeerFoundEventArgs> PeerFound
Event Type
| Type | Description |
|---|---|
| System.EventHandler<LocalPeerFoundEventArgs> |