Asgard.Client.AsgardClient.GetServerNode C# (CSharp) Method

GetServerNode() public method

public GetServerNode ( ) : NetNode
return NetNode
        public NetNode GetServerNode()
        {
            if (_bifrost.Peer == null ||
                _bifrost.Peer.Connections.Count == 0)
                return null;

            return (NetNode)_bifrost.Peer.Connections[0];
        }