Click or drag to resize
IpPacketDeserialize Method
Deserializes an IpPacket instance from the specified sequence of bytes.

Namespace: Network.Sim.Network.Ip
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static IpPacket Deserialize(
	byte[] data
)

Parameters

data
Type: SystemByte
The sequence of bytes to deserialize an IpPacket object from.

Return Value

Type: IpPacket
A deserialized IpPacket object.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the data argument is null.
SerializationExceptionThrown if the IP packet could not be deserialized from the specified byte array.
See Also