Struct AddressRange
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: MonoTorrent.dll
Syntax
public struct AddressRange
Constructors
AddressRange(Int32, Int32)
Declaration
public AddressRange(int start, int end)
Parameters
| Type |
Name |
Description |
| System.Int32 |
start |
|
| System.Int32 |
end |
|
AddressRange(IPAddress, IPAddress)
Declaration
public AddressRange(IPAddress start, IPAddress end)
Parameters
| Type |
Name |
Description |
| System.Net.IPAddress |
start |
|
| System.Net.IPAddress |
end |
|
Fields
End
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
Start
Declaration
public readonly int Start
Field Value
| Type |
Description |
| System.Int32 |
|
Methods
Contains(AddressRange)
Declaration
public bool Contains(AddressRange range)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Contains(Int32)
Declaration
public bool Contains(int value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
value |
|
Returns
| Type |
Description |
| System.Boolean |
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.ValueType.ToString()