C# Class socks5.BandwidthCounter

显示文件 Open project: ThrDev/Socks5

Public Methods

Method Description
AddBytes ( ulong count ) : void

Adds bytes to the total transfered

BandwidthCounter ( ) : System

Empty constructor, because thats constructive

GetPerSecond ( ) : string

Accesses the current transfer rate, returning the text

ToString ( ) : string

Prints out a relevant string for the bits transfered

Method Details

AddBytes() public method

Adds bytes to the total transfered
public AddBytes ( ulong count ) : void
count ulong Byte count
return void

BandwidthCounter() public method

Empty constructor, because thats constructive
public BandwidthCounter ( ) : System
return System

GetPerSecond() public method

Accesses the current transfer rate, returning the text
public GetPerSecond ( ) : string
return string

ToString() public method

Prints out a relevant string for the bits transfered
public ToString ( ) : string
return string