Struct IncludeMessage
public readonly struct IncludeMessage
- Inherited Members
Constructors
IncludeMessage(IPAddress, int)
public IncludeMessage(IPAddress remoteAddress, int remotePort)
Parameters
Properties
RemoteAddress
public IPAddress RemoteAddress { get; }
Property Value
RemotePort
public int RemotePort { get; }
Property Value
Methods
Equals(IncludeMessage)
public bool Equals(IncludeMessage other)
Parameters
other
IncludeMessage
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
FromReader(BinaryReader)
public static IncludeMessage FromReader(BinaryReader reader)
Parameters
reader
BinaryReader
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Write(BinaryWriter)
public void Write(BinaryWriter writer)
Parameters
writer
BinaryWriter