C# Class socks5.BandwidthCounter.MiniCounter

Class to manage an adapters current transfer rate
Show file Open project: ThrDev/Socks5

Public Properties

Property Type Description
bytes ulong
gbytes ulong
kbytes ulong
mbytes ulong
pbytes ulong
tbytes ulong

Public Methods

Method Description
AddBytes ( ulong count ) : void

Adds bits(total misnomer because bits per second looks a lot better than bytes per second)

ToString ( ) : string

Returns the bits per second since the last time this function was called

Method Details

AddBytes() public method

Adds bits(total misnomer because bits per second looks a lot better than bytes per second)
public AddBytes ( ulong count ) : void
count ulong The number of bits to add
return void

ToString() public method

Returns the bits per second since the last time this function was called
public ToString ( ) : string
return string

Property Details

bytes public property

public ulong bytes
return ulong

gbytes public property

public ulong gbytes
return ulong

kbytes public property

public ulong kbytes
return ulong

mbytes public property

public ulong mbytes
return ulong

pbytes public property

public ulong pbytes
return ulong

tbytes public property

public ulong tbytes
return ulong