C# Class RatioMaster_source.RM

Inheritance: System.Windows.Forms.UserControl
ファイルを表示 Open project: NikolayIT/RatioMaster.NET Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Private Methods

Method Description
AcceptTcpConnection ( ) : void
AddClientInfo ( ) : void
AddLog ( string logLine ) : void
AddLogLine ( string logLine ) : void
BtoI ( bool b ) : int
ClearLog ( ) : void
CloseTcpListener ( ) : void
ConvertToTime ( int seconds ) : string
ExitRatioMaster ( ) : void
FindProcessByName ( string processName ) : Process
Form1_DragDrop ( object sender, DragEventArgs e ) : void
Form1_DragEnter ( object sender, DragEventArgs e ) : void
FormatFileSize ( ulong fileSize ) : string
GETDATA ( string client, string pversion, string SearchString, long startoffset, long maxoffset ) : bool
GetClientName ( ) : string
GetMax ( int p1, int p2 ) : int
GetMin ( int p1, int p2 ) : int
GetPCinfo ( ) : void
GetRandCustVal ( ) : void
HashUrlEncode ( string decoded, bool upperCase ) : string
ItoB ( int param ) : bool
MakeWebRequestEx ( Uri reqUri ) : RatioMaster_source.TrackerResponse
OpenTcpListener ( ) : void
RM ( ) : System
RandomSP ( string min, string max, bool ret ) : int
ReadSettings ( ) : void
RemaningWork_Tick ( object sender, EventArgs e ) : void
RoundByDenominator ( long value, long denominator ) : long
SaveLog_FileOk ( object sender, CancelEventArgs e ) : void
SetCustomValues ( ) : void
SetPrecision ( string data, int prec ) : string
StartButton_Click ( object sender, EventArgs e ) : void
StopButton_Click ( object sender, EventArgs e ) : void
StopModule ( ) : void
ToHexString ( byte bytes ) : string
browseButton_Click ( object sender, EventArgs e ) : void
btnDefault_Click ( object sender, EventArgs e ) : void
btnSaveLog_Click ( object sender, EventArgs e ) : void
chkNewValues_CheckedChanged ( object sender, EventArgs e ) : void
clearLogButton_Click ( object sender, EventArgs e ) : void
closeButton_Click ( object sender, EventArgs e ) : void
cmbClient_SelectedIndexChanged ( object sender, EventArgs e ) : void
cmbStopAfter_SelectedIndexChanged ( object sender, EventArgs e ) : void
cmbVersion_SelectedValueChanged ( object sender, EventArgs e ) : void
completedProcess ( ) : void
continueProcess ( ) : void
createChokeResponse ( ) : byte[]
createHandshakeResponse ( ) : byte[]
createRegularSocket ( ) : Socket
createSocket ( ) : SocketEx
deployDefaultValues ( ) : void
downloadRate_TextChanged ( object sender, EventArgs e ) : void
fileSize_TextChanged ( object sender, EventArgs e ) : void
getCurrentProxy ( ) : RatioMaster_source.ProxyInfo
getCurrentTorrent ( ) : RatioMaster_source.TorrentInfo
getScrapeUrlString ( RatioMaster_source.TorrentInfo torrentInfo ) : string
getStringOffsetInsideArray ( byte memory, Encoding enc, string clientSearchString ) : int
getUrlString ( RatioMaster_source.TorrentInfo torrentInfo, string eventType ) : string
loadTorrentFileInfo ( string torrentFilePath ) : void
manualUpdateButton_Click ( object sender, EventArgs e ) : void
openFileDialog1_FileOk ( object sender, CancelEventArgs e ) : void
randomiseSpeeds ( ) : void
requestScrapeFromTracker ( RatioMaster_source.TorrentInfo torrentInfo ) : void
sendEventToTracker ( RatioMaster_source.TorrentInfo torrentInfo, string eventType ) : bool
serverUpdateTimer_Tick ( object sender, EventArgs e ) : void
startProcess ( ) : void
stopProcess ( ) : void
stopTimerAndCounters ( ) : void
txtStopValue_TextChanged ( object sender, EventArgs e ) : void
updateCounters ( TorrentInfo torrentInfo ) : void
updateInterval ( string param ) : void
updateScrapStats ( string seedStr, string leechStr, string finishedStr ) : void
updateTextBox ( Label textbox, string text ) : void
updateTextBox ( TextBox textbox, string text ) : void
uploadRate_TextChanged ( object sender, EventArgs e ) : void

Method Details

ToString() public method

public ToString ( ) : string
return string