Hi everyone and thanks in advance to help me,
I had follow the wiki for send a packet
but I don't understand why when I create a BuildEthernetPacket, this packet is invalid.
If I copy past the wiki tutorial and I done that :
Result is False
Packet x = BuildEthernetPacket();
The original code for BuildEthernetPacket :__
/// This function build an Ethernet with payload packet.
private static Packet BuildEthernetPacket()
EthernetLayer ethernetLayer =
Source = new MacAddress("01:01:01:01:01:01"),
Destination = new MacAddress("02:02:02:02:02:02"),
EtherType = EthernetType.IpV4,
PayloadLayer payloadLayer =
Data = new Datagram(Encoding.ASCII.GetBytes("hello world")),
PacketBuilder builder = new PacketBuilder(ethernetLayer, payloadLayer);
If someone have a idea ?