## IPPacketInformation class


Rappresenta le informazioni sul pacchetto. Gli oggetti di questa classe dovrebbero essere allocati solo usando la funzione [System::MakeObject()](../../system/makeobject/) . Non creare mai un'istanza di questo tipo sullo stack o usando l'operatore new, poiché ciò provocherà errori di runtime e/o fault di asserzione. Avvolgere sempre questa classe in un puntatore [System::SmartPtr](../../system/smartptr/) e utilizzare questo puntatore per passarlo alle funzioni come argomento.

```cpp
class IPPacketInformation : public System::Object
```

## Metodi

| Metodo | Descrizione |
| --- | --- |
| [Equals](./equals/)(System::SharedPtr\<Object\>) override | Confronta due oggetti usando la semantica C# [Object.Equals](../../system/object/equals/). |
| [get_Address](./get_address/)() | Restituisce l'indirizzo da cui viene ricevuto il pacchetto. |
| [get_Interface](./get_interface/)() | Restituisce le informazioni dell'interfaccia di rete. |
| [GetHashCode](./gethashcode/)() const override | Analogo del metodo C# [Object.GetHashCode()](../../system/object/gethashcode/). Consente l'hashing di oggetti personalizzati. |
| [IPPacketInformation](./ippacketinformation/)(System::SharedPtr\<IPAddress\>, int32_t) | Crea una nuova istanza. |
| [IPPacketInformation](./ippacketinformation/)() | Crea una nuova istanza. |
## Vedi anche

* Class [Object](../../system/object/)
* Namespace [System::Net::Sockets](../)
* Library [Aspose.Page for C++](../../)
