C# Class AnalysisEngine.AntiPwny

Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: rvazarkar/antipwny

Public Methods

Method Description
AntiPwny ( ) : System
HandleItemAdded ( object sender, AddLogEventArgs e ) : void

Adds an item to our event log

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnLoad ( EventArgs e ) : void

Sets the status of the Run At Startup menu item before everything else loads.

Private Methods

Method Description
AntiPwny_FormClosing ( object sender, FormClosingEventArgs e ) : void

Hook the regular X button in the form to make sure it hides instead of exits unless we have explicitly called our close function

GetExtendedTcpTable ( IntPtr pTcpTable, int &dwOutBufLen, bool sort, int ipVersion, TCP_TABLE_CLASS tblClass, int reserved ) : uint
HandleUpdateProcs ( List objects ) : void

Updates the list that displays processes.

InitializeComponent ( ) : void
Main ( string args ) : void
OnExit ( object sender, EventArgs e ) : void

The real exit function, called from the menu.

ShowGui ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
iPSModeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
initializeGui ( ) : void

Initializes various important parts of the GUI for first view

killProcessToolStripMenuItem_Click ( object sender, EventArgs e ) : void
procListUpdater_DoWork ( object sender, System e ) : void

The main worker thread that does process scanning. Background this so it doesn't interfere with our main thread.

procListUpdater_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
procListUpdater_RunWorkerCompleted ( object sender, System e ) : void

Called when our background thread finishes

processTreeView_CellRightClick ( object sender, BrightIdeasSoftware.CellRightClickEventArgs e ) : void
processTreeView_CellRightClick_1 ( object sender, BrightIdeasSoftware.CellRightClickEventArgs e ) : void
processTreeView_Expanded ( object sender, BrightIdeasSoftware.TreeBranchExpandedEventArgs e ) : void
registryListView_CellRightClick ( object sender, BrightIdeasSoftware.CellRightClickEventArgs e ) : void
regwatch_addRegistry ( object sender, RegistryKeyObject e ) : void

Adds a registry entry to the registry list

regwatch_removedEntry ( object sender, string s ) : void

Removes an entry from the Registry List

removeRegistryEntryToolStripMenuItem_Click ( object sender, EventArgs e ) : void
rescanButton_Click ( object sender, EventArgs e ) : void
runAtStartupToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Toggles run at startup

t_Tick ( object sender, EventArgs e ) : void

Counts down time till next automatic scan

tabControl_Selected ( object sender, System.Windows.Forms.TabControlEventArgs e ) : void
tabControl_Selecting ( object sender, System.Windows.Forms.TabControlCancelEventArgs e ) : void

Method Details

AntiPwny() public method

public AntiPwny ( ) : System
return System

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

HandleItemAdded() public method

Adds an item to our event log
public HandleItemAdded ( object sender, AddLogEventArgs e ) : void
sender object Sending Object
e AddLogEventArgs Encapsulating Object with data
return void

OnLoad() protected method

Sets the status of the Run At Startup menu item before everything else loads.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void