private static ICollection <NetworkAddress> GetAddresses(string address) { var options = new NetworkingOptions(); options.Addresses.Clear(); options.Addresses.Add(address); var a = new AddressProvider(options, new NullLoggerFactory()); return(a.CreateMapFromConfiguration().Values); }