Click or drag to resize

PacketChangedEventArgs Methods

The PacketChangedEventArgs type exposes the following members.

Methods
  NameDescription
Public methodTryGetPacket
Gets the message received from the network that caused this event to be raised. Returns null if the message has already been read from the socket.
(Inherited from MessageEventArgsMessageType.)
Public methodTryPeekPacket
Gets the message received from the network that caused this event to be raised. Returns null if the message has already been read from the socket.
(Inherited from MessageEventArgsMessageType.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetData
Gets the packet received from the network that caused this event to be raised. Throws an exception if the packet has already been read from the socket.
(Defined by PacketChangedEventArgsExtensions.)
Public Extension MethodGetPacket
Gets the packet received from the network that caused this event to be raised. Throws an exception if the packet has already been read from the socket.
(Defined by PacketChangedEventArgsExtensions.)
Public Extension MethodTryGetData
Gets the packet received from the network that caused this event to be raised. Returns null if the packet has already been read from the socket.
(Defined by PacketChangedEventArgsExtensions.)
Top
See Also