csol官网出现Net sendpacket error no error

,下载次数:3 次
| 关键字:
NetWorkCms
Properties
Settings.settings[249B]
NetWorkCms.exe[17KB]
NetWorkCms.pdb[51KB]
NetWorkCms.vshost.exe[11KB]
NetWorkCms.vshost.exe.manifest[490B]
PacketDotNet.dll[192KB]
PacketDotNet.xml[465KB]
SharpPcap.dll[71KB]
SharpPcap.xml[182KB]
WinPcap_4_1_3.exe[893KB]
Debug.rar[1011KB]
DesignTimeResolveAssemblyReferences.cache[2KB]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
GenerateResource.read.1.tlog[496B]
GenerateResource.write.1.tlog[1KB]
NetWorkCms.Form1.resources[180B]
NetWorkCms.Properties.Resources.resources[180B]
NetWorkCms.csproj.FileListAbsolute.txt[3KB]
NetWorkCms.csproj.GenerateResource.Cache[975B]
NetWorkCms.csprojResolveAssemblyReference.cache[14KB]
NetWorkCms.exe[17KB]
NetWorkCms.pdb[51KB]
ResolveAssemblyReference.cache[28KB]
PacketDotNet.dll[192KB]
SharpPcap.dll[71KB]
WinPcap_4_1_3.exe[893KB]
NetWorkCms.sln[872B]
from.gif[4KB]
最新Asp.Net源码下载.url[123B]
开发工具:VS2010
数据库:无数据库
开发语言:C#
源码大小:3.11MB
监听数据包
开发工具:VS2010
数据库:无数据库
开发语言:C#
源码大小:3.11MB
开发工具:VS2010
数据库:无数据库
开发语言:C#
源码大小:3.11MB
当前路径:lib/SharpPcap.xml
&?xml version=&1.0&?&
&assembly&
&name&/home/cmorgan/hdd/sharppcap_git/SharpPcap/bin/Debug/SharpPcap&/name&
&/assembly&
&member name=&T:SharpPcap.AirPcap.AirPcapAdapterBus&&
Adapter bus types
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterBus.Usb&&
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterBus.Pci&&
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterBus.PciExpress&&
PciExpress
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterBus.MiniPci&&
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterBus.MiniPciExpress&&
MiniPciExpress
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterBus.Cardbus&&
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterBus.Expresscard&&
Expresscard
&/summary&
&member name=&T:SharpPcap.AirPcap.AirPcapAdapterId&&
Types of airpcap adapters
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterId.Classic&&
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterId.ClassicRelease2&&
Class release 2
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterId.Tx&&
AirPcap TX
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterId.Ex&&
AirPcap EX
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterId.N&&
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapAdapterId.Nx&&
AirPcap Nx
&/summary&
&member name=&T:SharpPcap.AirPcap.AirPcapBands&&
Frequency bands
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapBands._2GHZ&&
&summary&2.4 GHz band&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapBands._5GHZ&&
&summary&5 GHz band&/summary&
&member name=&T:SharpPcap.AirPcap.AirPcapChannelInfo&&
Channel info
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapChannelInfo.Frequency&&
Channel frequency, in MHz
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapChannelInfo.ExtChannel&&
802.11n specific. Offset of the extension channel in case of 40MHz channels.
Possible values are -1, 0 +1:
- -1 means that the extension channel should be below the control channel (e.g. Control = 5 and Extension = 1)
- 0 means that no extension channel should be used (20MHz channels or legacy mode)
- +1 means that the extension channel should be above the control channel (e.g. Control = 1 and Extension = 5)
In case of 802.11a/b/g channels (802.11n legacy mode), this field should be set to 0.
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapChannelInfo.Flags&&
Channel Flags. The only flag supported at this time is \ref AIRPCAP_CIF_TX_ENABLED.
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapChannelInfo.ToString&&
ToString() override
&/summary&
A &see cref=&T:System.String& /&&/returns&
&member name=&T:SharpPcap.AirPcap.AirPcapChannelInfoFlags&&
Channel info flags
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapChannelInfoFlags.None&&
No flags set
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapChannelInfoFlags.TxEnable&&
Channel info flag: the channel is enabled for transmission, too.
To comply with the electomagnetic emission regulations of the different countries, the AirPcap hardware can be programmed
to block transmission on specific channels. This flag is set by AirpcapGetDeviceSupportedChannels() to indicate that a
channel in the list supports transmission.
&/summary&
&member name=&T:SharpPcap.AirPcap.AirPcapDecryptionState&&
Type of decryption the adapter performs.
An adapter can be instructed to turn decryption (based on the device-configured keys configured
with \ref AirpcapSetDeviceKeys()) on or off.
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDecryptionState.DecryptionOn&&
&summary&This adapter performs decryption&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDecryptionState.DecryptionOff&&
&summary&This adapter does not perform decryption&/summary&
&member name=&T:SharpPcap.AirPcap.AirPcapDevice&&
AirPcap device
&/summary&
&member name=&T:SharpPcap.AirPcap.AirPcapDevice.LedState&&
Led states
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDevice.LedState.On&&
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDevice.LedState.Off&&
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDevice.MacAddressSizeInBytes&&
TODO: Get this from packet.net or another place in System.Net.xxx?
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.AirPcapDeviceHandle&&
Handle to the device
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.LastError&&
The last pcap error associated with this pcap device
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.Capabilities&&
Device capabilities, whether the device can transmit, its id, model name etc
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.Channel&&
Adapter channel
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.Frequency&&
Adapter frequency
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.ChannelInfo&&
Channel information
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.DeviceKeys&&
Decryption keys that are currently associated with the specified device
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.DriverKeys&&
Global list of decryption keys that AirPcap is using with all the devices.
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.DecryptionState&&
Tells if decryption of the incoming frames with the &b&device-specific&/b& keys.
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.DriverDecryptionState&&
Tells if this open instance is configured to perform the decryption of the incoming frames with the &b&global&/b& set of keys.
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.FcsPresence&&
Configures the adapter on whether to include the MAC Frame Check Sequence in the captured packets.
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.FcsValidation&&
The kinds of frames that the device will capture
By default all frames are captured
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.KernelBufferSize&&
Kernel packet buffer size for this adapter in bytes
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.LedCount&&
Number of leds on this adapter
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.AirPcapLinkType&&
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.LinkType&&
Link type in terms of PacketDotNet.LinkLayers
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.MacAddress&&
Mac address
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.MacFlags&&
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.Statistics&&
Adapter statistics
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.SupportedChannels&&
List of supported channels
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.TxPower&&
Transmit power
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDevice.Timestamp&&
Device timestamp
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.ThrowIfNotOpen&&
See ThrowIfNotOpen(string ExceptionString)
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.GetLastError(System.IntPtr)&&
Retrieve the last error string for a given pcap_t* device
&/summary&
&param name=&AirPcapDeviceHandle&&
A &see cref=&T:System.IntPtr& /&&/param&
A &see cref=&T:System.String& /&&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.Open&&
Open a device
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.Open(SharpPcap.DeviceMode)&&
Open the device. To start capturing call the 'StartCapture' function
&/summary&
&param name=&mode&&
A &see cref=&T:SharpPcap.DeviceMode& /&&/param&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.Open(SharpPcap.DeviceMode,System.Int32)&&
Open the device. To start capturing call the 'StartCapture' function
&/summary&
&param name=&mode&&
A &see cref=&T:SharpPcap.DeviceMode& /&&/param&
&param name=&read_timeout&&
A &see cref=&T:System.Int32& /&&/param&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.Open(SharpPcap.WinPcap.OpenFlags,System.Int32)&&
Opens an Airpcap device with optional WinPcap.OpenFlags
&/summary&
&param name=&flags&&
A &see cref=&!:WinPcap.OpenFlags& /&&/param&
&param name=&read_timeout&&
A &see cref=&T:System.Int32& /&&/param&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.Close&&
Close a device
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.KeyCollectionSize(System.Int32)&&
Size in bytes of a key collection with a given count of keys
&/summary&
&param name=&keyCount&&
&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.IntPtrToKeys(System.IntPtr)&&
Convert a AirpcapKeysCollection unmanaged buffer to a list of managed keys
&/summary&
&param name=&pKeysCollection&&
&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.KeysToIntPtr(System.Collections.Generic.List{SharpPcap.AirPcap.AirPcapKey})&&
Convert an array of keys into unmanaged memory
&/summary&
&param name=&value&&
&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.Led(System.Int32,SharpPcap.AirPcap.AirPcapDevice.LedState)&&
Constructor
&/summary&
&param name=&ledIndex&&
A &see cref=&T:System.Int32& /&&/param&
&param name=&newLedState&&
A &see cref=&T:SharpPcap.AirPcap.AirPcapDevice.LedState& /&&/param&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.CaptureThread&&
AirPcap specific capture thread
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDevice.MarshalPackets(System.IntPtr,System.IntPtr,System.Collections.Generic.List{SharpPcap.RawCapture}@)&&
Marshal a chunk of captured packets into a packet list
&/summary&
&param name=&packetsBuffer&&
&param name=&bufferEnd&&
&param name=&packets&&
&member name=&T:SharpPcap.AirPcap.AirPcapDeviceCapabilities&&
Capabilities for the adapter
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDeviceCapabilities.AdapterId&&
An id that identifies the adapter model
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDeviceCapabilities.AdapterModelName&&
String containing a printable adapter model
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDeviceCapabilities.AdapterBus&&
The type of bus the adapter is plugged to
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDeviceCapabilities.SupportedMedia&&
An OR combination of the media that the device supports. Possible values are: \ref AIRPCAP_MEDIUM_802_11_A,
\ref AIRPCAP_MEDIUM_802_11_B, \ref AIRPCAP_MEDIUM_802_11_G or \ref AIRPCAP_MEDIUM_802_11_N.
Not supported at the moment.
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDeviceCapabilities.SupportedBands&&
An OR combination of the bands that the device supports. Can be one of: \ref AIRPCAP_BAND_2GHZ,
\ref AIRPCAP_BAND_5GHZ.
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDeviceCapabilities.CanTransmit&&
TRUE if the adapter is able to perform frame injection.
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDeviceCapabilities.CanSetTransmitPower&&
TRUE if the adapter's transmit power is can be specified by the user application.
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDeviceCapabilities.ExternalAntennaPlug&&
TRUE if the adapter supports plugging one or more external antennas.
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDeviceCapabilities.ToString&&
ToString() overload
&/summary&
A &see cref=&T:System.String& /&&/returns&
&member name=&T:SharpPcap.AirPcap.AirPcapDeviceDescription&&
Adapter description
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDeviceDescription.Name&&
Device name
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDeviceDescription.Description&&
Device description
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDeviceDescription.ToString&&
ToString() override
&/summary&
A &see cref=&T:System.String& /&&/returns&
&member name=&T:SharpPcap.AirPcap.AirPcapDeviceList&&
AirPcap device list
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDeviceList.#ctor&&
Represents a strongly typed, read-only list of PcapDevices.
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapDeviceList.Item(System.String)&&
&param name=&Name&&The name or description of the pcap interface to get.&/param&
&member name=&P:SharpPcap.AirPcap.AirPcapDeviceList.Instance&&
Method to retrieve this classes singleton instance
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDeviceList.New&&
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.
&/summary&
A &see cref=&T:SharpPcap.CaptureDeviceList& /&&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapDeviceList.GetDevices&&
Retrieve an array of AirPcapDevices
&/summary&
&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapDeviceList.Refresh&&
Refresh the device list
&/summary&
&!--FIXME: Invalid documentation markup was found for member M:SharpPcap.AirPcap.AirPcapDeviceList.GetAirPcapDevices--&
&member name=&T:SharpPcap.AirPcap.AirPcapDeviceTimestamp&&
Defines the internal AirPcap device timestamp
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDeviceTimestamp.DeviceTimestamp&&
&summary&Current value of the device counter, in microseconds.&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDeviceTimestamp.SoftwareTimestampBefore&&
&summary&Value of the software counter used to timestamp packets before reading the device counter, in microseconds.&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapDeviceTimestamp.SoftwareTimestampAfter&&
&summary&Value of the software counter used to timestamp packets after reading the device counter, in microseconds.&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapDeviceTimestamp.ToString&&
ToString() override
&/summary&
A &see cref=&T:System.String& /&&/returns&
&member name=&T:SharpPcap.AirPcap.AirPcapKey&&
WEB key container
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapKey.#ctor(SharpPcap.AirPcap.AirPcapKeyType,System.Byte[])&&
Constructor
&/summary&
&param name=&Type&&
&param name=&Data&&
&member name=&F:SharpPcap.AirPcap.AirPcapKey.WepKeyMaxSize&&
Number of bytes in a wep key
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapKey.Type&&
Type of key, can be on of: \ref AIRPCAP_KEYTYPE_WEP, \ref AIRPCAP_KEYTYPE_TKIP, \ref AIRPCAP_KEYTYPE_CCMP. Only AIRPCAP_KEYTYPE_WEP is supported by the driver at the moment.
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapKey.Data&&
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapKey.ToString&&
&/summary&
A &see cref=&T:System.String& /&&/returns&
&member name=&T:SharpPcap.AirPcap.AirPcapKeyType&&
Type of keys in the adapter
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapKeyType.Wep&&
Key type: WEP. The key can have an arbitrary length smaller than 32 bytes.
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapKeyType.Tkip&&
Key type: TKIP (WPA). NOT SUPPORTED YET by AirPcap
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapKeyType.Ccmp&&
Key type: CCMP (WPA2). NOT SUPPORTED YET by AirPcap
&/summary&
&member name=&T:SharpPcap.AirPcap.AirPcapMacFlags&&
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapMacFlags.MonitorModeOn&&
If set, the device is configured to work in monitor mode.
When monitor mode is on, the device captures all the frames transmitted on the channel. This includes:
- unicast packets
- multicast packets
- broadcast packets
- control and management packets
When monitor mode is off, the device has a filter on unicast packets to capture only the packets whose MAC
destination address equals the device's address. This means the following frames will be received:
- unicast packets whose destination is the address of the device
- multicast packets
- broadcast packets
- beacons and probe requests
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapMacFlags.AckFramesOn&&
If set, the device will acknowledge the data frames sent to its address. This is useful when the device needs to interact with other devices on the
802.11 network, bacause handling the ACKs in software is normally too slow.
&/summary&
&member name=&T:SharpPcap.AirPcap.AirPcapMediumType&&
Medium type
&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapMediumType._802_11_A&&
&summary&802.11a medium&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapMediumType._802_11_B&&
&summary&802.11b medium&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapMediumType._802_11_G&&
&summary&802.11g medium&/summary&
&member name=&F:SharpPcap.AirPcap.AirPcapMediumType._802_11_N&&
&summary&802.11n medium&/summary&
&member name=&T:SharpPcap.AirPcap.AirPcapPacketHeader&&
Packet header
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapPacketHeader.TsSec&&
Seconds field
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapPacketHeader.TsUsec&&
Microseconds field
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapPacketHeader.Caplen&&
Number of bytes captured
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapPacketHeader.Originallen&&
On-line packet size in bytes
&/summary&
&member name=&P:SharpPcap.AirPcap.AirPcapPacketHeader.Hdrlen&&
Header length in bytes
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapPacketHeader.ToString&&
ToString() override
&/summary&
A &see cref=&T:System.String& /&&/returns&
&member name=&T:SharpPcap.AirPcap.AirPcapSafeNativeMethods&&
Per /en-us/ms182161.aspx
&/summary&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapGetVersion(System.UInt32@,System.UInt32@,System.UInt32@,System.UInt32@)&&
Sets variables to the particular version being used
&/summary&
&param name=&VersionMajor&&Pointer to a variable that will be filled with the major version number&/param&
&param name=&VersionMinor&&Pointer to a variable that will be filled with the minor version number&/param&
&param name=&VersionRev&&Pointer to a variable that will be filled with the revision number&/param&
&param name=&VersionBuild&&Pointer to a variable that will be filled with the build number&/param&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapGetLastError(System.IntPtr)&&
Returns the last error related to the specified handle
&/summary&
&param name=&AdapterHandle&&Handle to an open adapter&/param&
&returns&String with the last error, a PCHAR&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapGetDeviceList(System.IntPtr@,System.Text.StringBuilder)&&
Returns the list of available devices
&/summary&
&param name=&PPAllDevs&&Address to a caller allocated pointer. On success this pointer will receive the head of a list of available devices.&/param&
&param name=&Ebuf&&String that will contain error information if FALSE is returned. The size of the string must be AIRPCAP_ERRBUF_SIZE bytes.&/param&
&returns&TRUE on success. FALSE is returned on failure, in which case Ebuf is filled in with an appropriate error message.&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapFreeDeviceList(System.IntPtr)&&
Frees a list of devices returned by AirpcapGetDeviceList()
&/summary&
&param name=&PAllDevs&&Head of the list of devices returned by AirpcapGetDeviceList()&/param&
&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapOpen(System.String,System.Text.StringBuilder)&&
Opens an adapter
&/summary&
&param name=&DeviceName&&Name of the device to open. Use AirpcapGetDeviceList() to get the list of devices.&/param&
&param name=&Ebuf&&String that will contain error information in case of failure. The size of the string must be AIRPCAP_ERRBUF_SIZE bytes.&/param&
&returns&A PAirpcapHandle handle on success. NULL is returned on failure, in which case Ebuf is filled in with an appropriate error message.&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapClose(System.IntPtr)&&
Closes an adapter
&/summary&
&param name=&AdapterHandle&&Handle to the adapter to close.&/param&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapGetDeviceCapabilities(System.IntPtr,System.IntPtr@)&&
Get the capabilities of a device
NOTE: The PCapabilities structure returned by AirpcapGetDeviceCapabilities() must be considered invalid
after the adapter has been closed.
&/summary&
&param name=&AdapterHandle&&Handle to the adapter&/param&
&param name=&PCapabilities&&Pointer to a library-allocated AirpcapDeviceCapabilities structure that contains
the capabilities of the adapter&/param&
&returns&True on success&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapSetDeviceMacFlags(System.IntPtr,SharpPcap.AirPcap.AirPcapMacFlags)&&
Sets the device's monitor mode and acknowledgment settings.
When an adapter is plugged into the system, it's always configured with monitor mode ON and acknowledgment settings OFF.
These values are not stored persistently, so if you want to turn monitor mode off, you will need to do it
every time you attach the adapter.
\note currently, the AirPcap adapter supports frames acknowleging when the adapter is NOT in monitor mode. This means that
the combinations in which the two flags have the same value will cause AirpcapSetDeviceMacFlags() to fail.
&/summary&
&param name=&AdapterHandle&&Handle to the adapter&/param&
&param name=&AirpcapMacFlags&&Flags word, that contains a bitwise-OR combination of the following flags: \ref AIRPCAP_MF_MONITOR_MODE_ON and \ref AIRPCAP_MF_ACK_FRAMES_ON .&/param&
&returns&TRUE on success&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapGetDeviceMacFlags(System.IntPtr,SharpPcap.AirPcap.AirPcapMacFlags@)&&
Gets the device's monitor mode and acknowledgement settings
When an adapter is plugged into the system, it's always configured with monitor mode ON and acknowledgment settings OFF.
These values are not stored persistently, so if you want to turn monitor mode off, you will need to do it
every time you attach the adapter.
&/summary&
&param name=&AdapterHandle&&Handle to the adapter&/param&
&param name=&PAirpcapMacFlags&&User-provided flags word, that will be filled by the function with an OR combination of the
following flags: \ref AIRPCAP_MF_MONITOR_MODE_ON and \ref AIRPCAP_MF_ACK_FRAMES_ON.&/param&
&returns&TRUE on success&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapSetLinkType(System.IntPtr,SharpPcap.AirPcap.AirPcapLinkTypes)&&
Sets the link type of an adapter
the &link type& determines how the driver will encode the packets captured from the network.
Aircap supports two link types:
- \ref AIRPCAP_LT_802_11, to capture 802.11 frames (including control frames) without any
power information. Look at the &Capture_no_radio& example application in the developer's pack
for a reference on how to decode 802.11 frames with this link type.
- \ref AIRPCAP_LT_802_11_PLUS_RADIO, to capture 802.11 frames (including control frames) with a radiotap header
that contains power and channel information. More information about the radiotap header can be found in the
\ref radiotap section. Moreover, the &Capture_radio& example application in
the developer's pack can be used as a reference on how to decode 802.11 frames with radiotap headers.
- \ref AIRPCAP_LT_802_11_PLUS_PPI, to capture 802.11 frames (including control frames) with a Per Packet Information (PPI)
header that contains per-packet meta information like channel and power information. More details on the PPI header can
be found in the PPI online documentation (TODO).
&/summary&
&param name=&AdapterHandle&&
&param name=&NewLinkType&&the &link type&, i.e. the format of the frames that will be received from the adapter.&/param&
&returns&TRUE on success&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapGetLinkType(System.IntPtr,SharpPcap.AirPcap.AirPcapLinkTypes@)&&
Gets the link type of the specified adapter
the &link type& determines how the driver will encode the packets captured from the network.
Aircap supports two link types:
- \ref AIRPCAP_LT_802_11, to capture 802.11 frames (including control frames) without any
power information. Look at the &Capture_no_radio& example application in the developer's pack
for a reference on how to decode 802.11 frames with this link type.
- \ref AIRPCAP_LT_802_11_PLUS_RADIO, to capture 802.11 frames (including control frames) with a radiotap header
that contains power and channel information. More information about the radiotap header can be found int the
\ref radiotap section. Moreover, the &Capture_radio& example application in
the developer's pack can be used as a reference on how to decode 802.11 frames with radiotap headers.
- \ref AIRPCAP_LT_802_11_PLUS_PPI, to capture 802.11 frames (including control frames) with a Per Packet Information (PPI)
header that contains per-packet meta information like channel and power information. More details on the PPI header can
be found in the PPI online documentation (TODO).
&/summary&
&param name=&AdapterHandle&&Handle to the adapter&/param&
&param name=&PLinkType&&Pointer to a caller allocated AirpcapLinkType variable that will contain
the link type of the adapter&/param&
&returns&TRUE on success&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapSetFcsPresence(System.IntPtr,System.Boolean)&&
Configures the adapter on whether to include the MAC Frame Check Sequence in the captured packets.
In the default configuration, the adapter includes the FCS in the captured packets. The MAC Frame Check Sequence
is 4 bytes and is located at the end of the 802.11 packet, with \ref AIRPCAP_LT_802_11, \ref AIRPCAP_LT_802_11_PLUS_RADIO and
\ref AIRPCAP_LT_802_11_PLUS_PPI link types.
When the FCS inclusion is turned on, and if the link type is \ref AIRPCAP_LT_802_11_PLUS_RADIO, the radiotap header
that precedes each frame has two additional fields at the end: Padding and FCS. These two fields are not present
when FCS inclusion is off.
&/summary&
&param name=&AdapterHandle&&Handle to the adapter&/param&
&param name=&IsFcsPresent&&TRUE if the packets should include the FCS, FALSE otherwise&/param&
&returns&TRUE on success&/returns&
&member name=&M:SharpPcap.AirPcap.AirPcapSafeNativeMethods.AirpcapGetFcsP...
联系电话(Tel):(免长途)
地址:北京市石景山区万达广场F座十层
邮编:100040
Floor 10th,West Wanda Plaza,Shijingshan District,Beijing,China,100040
版权所有 CopyRight (C) .
| 京公网安备69号

我要回帖

更多关于 1661047 的文章

 

随机推荐