예제 #1
0
 internal DnsLookup(IHostsWatcher watcher)
 {
     this.hostsWatcher             = watcher;
     hostsWatcher.MappingsChanged += this.HostsWatcherMappingsChanged;
     hostsWatcher.RefreshFile();
 }
예제 #2
0
 internal DnsLookup(IHostsWatcher watcher)
 {
     this.hostsWatcher = watcher;
     hostsWatcher.MappingsChanged += this.HostsWatcherMappingsChanged;
     hostsWatcher.RefreshFile();
 }