C# Class Network_Manager.Jobs.Extensions.Dependencies

Inheritance: System.Windows.Forms.Form
Exibir arquivo Open project: SortByte/Network-Manager Class Usage Examples

Public Properties

Property Type Description
VC2010Installed bool
VC2010InstalledVersion string
WinPcapDevices List
WinPcapInUse System.Threading.CountdownEvent
WinPcapInstalled bool
WinPcapInstalledVersion string

Public Methods

Method Description
Check ( ) : bool
CheckVC2010 ( ) : bool
CheckWinPcap ( ) : bool
Dependencies ( ) : System
GetWinPcapDevs ( ) : List
RunWinPcapService ( IEnumerable requiredNics = null, bool verbose = false ) : bool

Makes sure that the "NetGroup Packet Filter" service status is "Running" and that all specified interfaces are captured.

Private Methods

Method Description
Download ( string link, string filePath ) : void
DownloadCompleted ( bool success, string filePath ) : void
RestartNpfService ( ) : bool
UpdateGui ( ) : void
button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
pcap_findalldevs ( IntPtr &pFirstDev, IntPtr pErrBuff ) : int
pcap_freealldevs ( IntPtr pFirstDev ) : void
pcap_lib_version ( ) : IntPtr

Method Details

Check() public static method

public static Check ( ) : bool
return bool

CheckVC2010() public static method

public static CheckVC2010 ( ) : bool
return bool

CheckWinPcap() public static method

public static CheckWinPcap ( ) : bool
return bool

Dependencies() public method

public Dependencies ( ) : System
return System

GetWinPcapDevs() public static method

public static GetWinPcapDevs ( ) : List
return List

RunWinPcapService() public static method

Makes sure that the "NetGroup Packet Filter" service status is "Running" and that all specified interfaces are captured.
public static RunWinPcapService ( IEnumerable requiredNics = null, bool verbose = false ) : bool
requiredNics IEnumerable If this is null it only alerts the user about any non-captured interfaces and returns true
verbose bool
return bool

Property Details

VC2010Installed public_oe static_oe property

public static bool VC2010Installed
return bool

VC2010InstalledVersion public_oe static_oe property

public static string VC2010InstalledVersion
return string

WinPcapDevices public_oe static_oe property

public static List WinPcapDevices
return List

WinPcapInUse public_oe static_oe property

public static CountdownEvent,System.Threading WinPcapInUse
return System.Threading.CountdownEvent

WinPcapInstalled public_oe static_oe property

public static bool WinPcapInstalled
return bool

WinPcapInstalledVersion public_oe static_oe property

public static string WinPcapInstalledVersion
return string