C# Class Universal.Torrent.BanLists.BanList

Datei anzeigen Open project: haroldma/Universal.Torrent

Public Methods

Method Description
Add ( AddressRange addressRange ) : void
Add ( IPAddress address ) : void
AddRange ( IEnumerable addressRanges ) : void
IsBanned ( IPAddress address ) : bool
Remove ( IEnumerable addressRanges ) : void
Remove ( IPAddress address ) : void

Private Methods

Method Description
Remove ( AddressRange addressRange ) : void

Method Details

Add() public method

public Add ( AddressRange addressRange ) : void
addressRange AddressRange
return void

Add() public method

public Add ( IPAddress address ) : void
address System.Net.IPAddress
return void

AddRange() public method

public AddRange ( IEnumerable addressRanges ) : void
addressRanges IEnumerable
return void

IsBanned() public method

public IsBanned ( IPAddress address ) : bool
address System.Net.IPAddress
return bool

Remove() public method

public Remove ( IEnumerable addressRanges ) : void
addressRanges IEnumerable
return void

Remove() public method

public Remove ( IPAddress address ) : void
address System.Net.IPAddress
return void