internal stuConnectionProperties ConnectionProperties(Guid ConnGuid) { stuConnectionProperties properties = null; try { SessionObject connection = GetConnection(ConnGuid); if (connection != null) { properties = new stuConnectionProperties(connection.ConnectedOn, ((IPEndPoint)connection.mSocket.RemoteEndPoint).Address. ToString(), ((IPEndPoint)connection.mSocket.RemoteEndPoint).Port); } return(properties); } catch { return(properties); } }
internal stuConnectionProperties ConnectionProperties(Guid ConnGuid) { stuConnectionProperties properties = null; try { SessionObject connection = GetConnection(ConnGuid); if (connection != null) properties = new stuConnectionProperties(connection.ConnectedOn, ((IPEndPoint) connection.mSocket.RemoteEndPoint).Address. ToString(), ((IPEndPoint) connection.mSocket.RemoteEndPoint).Port); return properties; } catch { return properties; } }