Example #1
0
        public NetworkEndpoint GetInterrogatorOrDefault(string issuer)
        {
            var endpoint = cache.GetOrDefault(issuer);

            if (endpoint.IsInterrogator)
            {
                return(endpoint);
            }
            return(null);
        }
Example #2
0
        public NetworkEndpoint GetResponderOrDefault(string issuer)
        {
            var endpoint = cache.GetOrDefault(issuer);

            if (endpoint.IsResponder)
            {
                return(endpoint);
            }
            return(null);
        }