The PacketHeader type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| PacketHeader | 
            Creates a new packetHeader
              | 
Methods
| Name | Description | |
|---|---|---|
| ContainsOption(PacketHeaderLongItems) | 
            Check if a long option has been set.
              | |
| ContainsOption(PacketHeaderStringItems) | 
            Check if a string option has been set.
              | |
| Deserialize(Stream) | ||
| Deserialize(Stream, PacketHeader ) | 
            Deserializes from a memory stream to a PacketHeader object
              | |
|  (Inherited from  | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  (Inherited from  | ||
Serves as a hash function for a particular type.   (Inherited from  | ||
| GetOption(PacketHeaderLongItems) | 
            Get a long option.
              | |
| GetOption(PacketHeaderStringItems) | 
            Get a string option
              | |
Gets the   (Inherited from  | ||
Creates a shallow copy of the current   (Inherited from  | ||
| Serialize | ||
| SetOption(PacketHeaderLongItems, Int64) | 
            Set a long option with the provided value.
              | |
| SetOption(PacketHeaderStringItems, String) | 
            Set a string option with the provided value.
              | |
Returns a string that represents the current object.  (Inherited from  | 
Properties
| Name | Description | |
|---|---|---|
| CheckSumHash | 
            A checksum corresponding to the payload data. If no checksum is set returns null.
              | |
| PacketIdentifier | 
            Optional packet identifier. If no packet identifier is set returns null.
              | |
| PacketSequenceNumber | 
            The sequence number for this packet
              | |
| PacketType | 
            The packet type.
              | |
| RequestedReturnPacketType | 
            The packet type which should be used for any return packet type. If no return packet type is set returns null.
              | |
| SourceNetworkIdentifier | 
            The network identifier of the packets source peer. If no source network identifier is set returns null. 
            Also see [!:Connection.ConnectionInfo.NetworkIdentifier].
              | |
| TotalPayloadSize | 
            The total size in bytes of the payload.
              | 
See Also