Class HostDiscoveredEventArgs
Represents the arguments of the host discovered event.
Inherited Members
Namespace: Evergine.Networking.Connection
Assembly: Evergine.Networking.dll
Syntax
public class HostDiscoveredEventArgs : EventArgs
Constructors
HostDiscoveredEventArgs(NetworkEndpoint, string)
Initializes a new instance of the HostDiscoveredEventArgs class.
Declaration
public HostDiscoveredEventArgs(NetworkEndpoint host, string serverName)
Parameters
Type | Name | Description |
---|---|---|
NetworkEndpoint | host | The discovered host endpoint. |
string | serverName | The server name. |
Properties
Host
Gets the discovered host endpoint.
Declaration
public NetworkEndpoint Host { get; }
Property Value
Type | Description |
---|---|
NetworkEndpoint |
ServerName
Gets the server name.
Declaration
public string ServerName { get; }
Property Value
Type | Description |
---|---|
string |