Struct SessionID
public struct SessionID
Constructors
SessionID(ushort)
public SessionID(ushort value)
Parameters
value
ushort
Fields
None
public static readonly SessionID None
Field Value
Size
public const int Size = 2
Field Value
Value
public readonly ushort Value
Field Value
Methods
Equals(SessionID)
public bool Equals(SessionID other)
Parameters
other
SessionID
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
Read(IInOctetStream)
public static SessionID Read(IInOctetStream stream)
Parameters
stream
IInOctetStream
Returns
ToString()
public override string ToString()
Returns
Write(in SessionID, IOutOctetStream)
public static void Write(in SessionID sessionID, IOutOctetStream stream)
Parameters
sessionID
SessionIDstream
IOutOctetStream
Operators
operator ==(SessionID, SessionID)
public static bool operator ==(SessionID l, SessionID r)
Parameters
Returns
implicit operator ushort(SessionID)
public static implicit operator ushort(SessionID id)
Parameters
id
SessionID
Returns
implicit operator SessionID(ushort)
public static implicit operator SessionID(ushort value)
Parameters
value
ushort
Returns
operator !=(SessionID, SessionID)
public static bool operator !=(SessionID l, SessionID r)