using System.Net; namespace FastGithub.Scanner { /// /// 定义扫描结果的接口 /// public interface IGithubScanResults { /// /// 查询ip是否可用 /// /// /// /// bool IsAvailable(string domain, IPAddress address); /// /// 查找最优的ip /// /// /// IPAddress? FindBestAddress(string domain); } }