SharpPcap : SharpPcap Namespace

CaptureDeviceList Class

List of available capture devices

Syntax

public class CaptureDeviceList : System.Collections.ObjectModel.ReadOnlyCollection<ICaptureDevice>

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Members

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

Public Properties

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

Public Methods

static
New () : CaptureDeviceList
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 CaptureDeviceList 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
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 ICaptureDevice 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
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 CaptureDeviceList New ()

Returns

A SharpPcap.CaptureDeviceList

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
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
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0