/// The values represent packet statistics from the start of the run to the time of the call.
/// </summary>
/// <exception cref="System::InvalidOperationException">Thrown if there is an error or the underlying packet capture doesn't support packet statistics.</exception>
/// This function transmits the content of a queue to the wire.
/// <seealso cref="SendPacket"/>
/// <seealso cref="PacketSendBuffer"/>
/// </summary>
/// <param name="sendBuffer">Contains the packets to send.</param>
/// <param name="isSync">Determines if the send operation must be synchronized: if it is true, the packets are sent respecting the timestamps, otherwise they are sent as fast as possible.</param>
/// <exception cref="System::InvalidOperationException">An error occurred during the send. The error can be caused by a driver/adapter problem or by an inconsistent/bogus send buffer..</exception>
/// <remarks>
/// <list type="bullet">
/// <item>Using this function is more efficient than issuing a series of SendPacket(), because the packets are buffered in the kernel driver, so the number of context switches is reduced. Therefore, expect a better throughput when using Transmit().</item>
/// <item>When isSync is true, the packets are synchronized in the kernel with a high precision timestamp. This requires a non-negligible amount of CPU, but allows normally to send the packets with a precision of some microseconds (depending on the accuracy of the performance counter of the machine). Such a precision cannot be reached sending the packets with SendPacket().</item>
/// The values represent packet statistics from the start of the run to the time of the call.
/// The values represent packet statistics from the start of the run to the time of the call.
/// Supported only on live captures, not on offline. No statistics are stored in offline, so no statistics are available when reading from an offline device.
/// Supported only on live captures, not on offline. No statistics are stored in offline, so no statistics are available when reading from an offline device.
/// <param name="sendBuffer">Contains the packets to send.</param>
/// <param name="sendBuffer">Contains the packets to send.</param>
/// <param name="isSync">Determines if the send operation must be synchronized: if it is true, the packets are sent respecting the timestamps, otherwise they are sent as fast as possible.</param>
/// <param name="isSync">Determines if the send operation must be synchronized: if it is true, the packets are sent respecting the timestamps, otherwise they are sent as fast as possible.</param>
/// <exception cref="System::InvalidOperationException">An error occurred during the send. The error can be caused by a driver/adapter problem or by an inconsistent/bogus send buffer..</exception>
/// <exception cref="System::InvalidOperationException">Trying to transmit to an offline device or an error occurred during the send. The error can be caused by a driver/adapter problem or by an inconsistent/bogus send buffer.</exception>
/// <remarks>
/// <remarks>
/// <list type="bullet">
/// <list type="bullet">
/// <item>Using this function is more efficient than issuing a series of SendPacket(), because the packets are buffered in the kernel driver, so the number of context switches is reduced. Therefore, expect a better throughput when using Transmit().</item>
/// <item>Using this function is more efficient than issuing a series of SendPacket(), because the packets are buffered in the kernel driver, so the number of context switches is reduced. Therefore, expect a better throughput when using Transmit().</item>
/// This sampling method defines that we have to return 1 packet every given time-interval.
/// In other words, if the interval is set to 10 milliseconds, the first packet is returned to the caller; the next returned one will be the first packet that arrives when 10ms have elapsed.
/// Indicates the 'waiting time' in milliseconds before one packet got accepted.
/// In other words, if 'value = 10', the first packet is returned to the caller; the next returned one will be the first packet that arrives when 10ms have elapsed.