C# Class socks5.BandwidthCounter.MiniCounter

Class to manage an adapters current transfer rate
ファイルを表示 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_oe property

public ulong bytes
return ulong

gbytes public_oe property

public ulong gbytes
return ulong

kbytes public_oe property

public ulong kbytes
return ulong

mbytes public_oe property

public ulong mbytes
return ulong

pbytes public_oe property

public ulong pbytes
return ulong

tbytes public_oe property

public ulong tbytes
return ulong