public bool IsPrivateNetwork(IPNet network) => ReservedPrivateRanges.Any(r => r.Contains(network));
public static bool IsPrivateNetwork(IPNet network) { return(ReservedPrivateRanges.Any(r => r.Contains(network))); }