Class PeerConnectedEventArgs
Used by the PeerConnected event
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MonoTorrent.Client
Assembly: MonoTorrent.dll
Syntax
public sealed class PeerConnectedEventArgs : TorrentEventArgs
Properties
Direction
Incoming if the connection was received by the IPeerListener associated with the active ClientEngine, otherwise Outgoing if the connection was created by the active TorrentManager
Declaration
public Direction Direction { get; }
Property Value
| Type | Description |
|---|---|
| Direction |
Peer
The object which will track the current session with this peer.
Declaration
public PeerId Peer { get; }
Property Value
| Type | Description |
|---|---|
| PeerId |