SharpPcap : SharpPcap.WinPcap Namespace

WinPcapDeviceList Class

Remote adapter list

Syntax

public class WinPcapDeviceList : System.Collections.ObjectModel.ReadOnlyCollection<WinPcapDevice>

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Members

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

Public Fields

static
RpcapdDefaultPort int . Port used by rpcapd by default

Public Properties

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

Public Methods

static
Devices (System.Net.IPAddress, int, RemoteAuthentication) : List<WinPcapDevice>
Documentation for this section has not yet been entered.
static
New () : WinPcapDeviceList
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

Devices Method

Documentation for this section has not yet been entered.

Syntax

public static List<WinPcapDevice> Devices (System.Net.IPAddress address, int port, RemoteAuthentication remoteAuthentication)

Parameters

address
Documentation for this section has not yet been entered.
port
Documentation for this section has not yet been entered.
remoteAuthentication
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Instance Property

Method to retrieve this classes singleton instance

Syntax

public static WinPcapDeviceList 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.WinPcap
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 WinPcapDevice 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.WinPcap
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 WinPcapDeviceList New ()

Returns

A SharpPcap.CaptureDeviceList

Remarks

Documentation for this section has not yet been entered.

Requirements

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

RpcapdDefaultPort Field

Port used by rpcapd by default

Syntax

public static int RpcapdDefaultPort

Remarks

Documentation for this section has not yet been entered.

Requirements

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