Class TrackerResponseEventArgs
Inheritance
System.Object
System.EventArgs
TrackerResponseEventArgs
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.Tracker
Assembly: MonoTorrent.dll
Syntax
public abstract class TrackerResponseEventArgs : EventArgs
Constructors
TrackerResponseEventArgs(ITracker, Boolean)
Declaration
protected TrackerResponseEventArgs(ITracker tracker, bool successful)
Parameters
| Type | Name | Description |
|---|---|---|
| ITracker | tracker | |
| System.Boolean | successful |
Properties
Successful
True if the request completed successfully
Declaration
public bool Successful { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Tracker
If the request completed successfull this will be set to the tracker which sent the valid response. If the request was unsuccessful, then this will be null for Announce requests (as every Tracker is queried), and it will be non-null for Scrape requests as only a single tracker is scraped.
Declaration
public ITracker Tracker { get; }
Property Value
| Type | Description |
|---|---|
| ITracker |