Show / Hide Table of Contents

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)
Namespace: MonoTorrent.Client
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
public readonly int End
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
Type Name Description
AddressRange range
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()
In This Article
Back to top Generated by DocFX