System::Net::Sockets::IPPacketInformation class

IPPacketInformation class

Represents information about the packet. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class IPPacketInformation : public System::Object

Methods

MethodDescription
Equals(System::SharedPtr<Object>) overrideCompares two objects using C# Object.Equals semantics.
get_Address()Returns the address from which the package is received.
get_Interface()Returns the network interface information.
GetHashCode() const overrideAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
IPPacketInformation(System::SharedPtr<IPAddress>, int32_t)Constructs a new instance.
IPPacketInformation()Constructs a new instance.

See Also