throwgcnewInvalidOperationException(String::Format("An error occurred sending the packets: %s. Only %d bytes were sent",gcnewString(pcap_geterr(deviceHandler->Handler)),numBytesTransmitted));
throwgcnewInvalidOperationException(String::Format("An error occurred sending the packets: %s. Only %d bytes were sent",gcnewString(pcap_geterr(deviceHandler->Descriptor)),numBytesTransmitted));