internal AirPcapKey(AirPcapUnmanagedStructures.AirpcapKey key) { Type = key.KeyType; Data = new byte[key.KeyData.Length]; Array.Copy(key.KeyData, Data, Data.Length); }
internal AirPcapChannelInfo(AirPcapUnmanagedStructures.AirpcapChannelInfo channelInfo) { Frequency = channelInfo.Frequency; ExtChannel = channelInfo.ExtChannel; Flags = channelInfo.Flags; }
internal extern static bool AirpcapGetDeviceChannelEx(/* PAirpcapHandle */ IntPtr AdapterHandle, /* PAirpcapChannelInfo */ out AirPcapUnmanagedStructures.AirpcapChannelInfo PChannelInfo);
internal AirPcapDeviceTimestamp(AirPcapUnmanagedStructures.AirpcapDeviceTimestamp timestamp) { DeviceTimestamp = timestamp.DeviceTimestamp; SoftwareTimestampBefore = timestamp.SoftwareTimestampBefore; SoftwareTimestampAfter = timestamp.SoftwareTimestampAfter; }
internal AirPcapDeviceDescription(AirPcapUnmanagedStructures.AirpcapDeviceDescription desc) { this.Name = desc.Name; this.Description = desc.Description; }