SharpPcap : SharpPcap.LibPcap Namespace

LibPcapLiveDeviceList Class

List of available Pcap Interfaces.

Syntax

public class LibPcapLiveDeviceList : System.Collections.ObjectModel.ReadOnlyCollection<LibPcapLiveDevice>

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Members

See Also: Inherited members from System.Collections.ObjectModel.ReadOnlyCollection<LibPcapLiveDevice>.

Public Properties

[read-only]
static
Instance LibPcapLiveDeviceList . Method to retrieve this classes singleton instance
[read-only]
default property
Item (string) LibPcapLiveDevice . Documentation for this section has not yet been entered.

Public Methods

static
New () : LibPcapLiveDeviceList
Caution: Use the singlton instance unless you know why you need to call this. One use is for multiple filters on the same physical device. To apply multiple filters open the same physical device multiple times, one for each filter by calling this routine and picking the same device out of each list.
Refresh ()
Refresh the device list

Member Details

Instance Property

Method to retrieve this classes singleton instance

Syntax

public static LibPcapLiveDeviceList Instance { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Item Property

Documentation for this section has not yet been entered.

Syntax

This is the default property for this class.

public LibPcapLiveDevice this [string Name] { get; }

Parameters

Name
The name or description of the pcap interface to get.

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

New Method

Caution: Use the singlton instance unless you know why you need to call this. One use is for multiple filters on the same physical device. To apply multiple filters open the same physical device multiple times, one for each filter by calling this routine and picking the same device out of each list.

Syntax

public static LibPcapLiveDeviceList New ()

Returns

A SharpPcap.LibPcap.LibPcapLiveDeviceList

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Refresh Method

Refresh the device list

Syntax

public void Refresh ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0