Click or drag to resize

DisconnectInfo Structure

Additional information about disconnection
Inheritance Hierarchy
SystemObject
  SystemValueType
    LiteNetLibDisconnectInfo

Namespace: LiteNetLib
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public struct DisconnectInfo

The DisconnectInfo type exposes the following members.

Methods
 NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Fields
 NameDescription
Public fieldAdditionalData Additional data that can be accessed (only if reason is RemoteConnectionClose)
Public fieldReason Additional info why peer disconnected
Public fieldSocketErrorCode Error code (if reason is SocketSendError or SocketReceiveError)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also