Constructor ConnectionEndpoint NamespaceDisCatSharp.Net AssemblyDisCatSharp.dll ConnectionEndpoint(string, int, bool) Creates a new endpoint structure. public ConnectionEndpoint(string hostname, int port, bool secured = false) Parameters hostname string Hostname to connect to. port int Port to use for connection. secured bool Whether the connection should be secured (https/wss).