public static List <NetworkInterfaceData> gatherUsing(InterfaceSelector selector)
 {
     // TODO: port to C#
     //return Collections.list(NetworkInterface.getNetworkInterfaces()).stream()
     //.filter(selector::usable)
     //.map(NetworkInterfaceData::new).collect(Collectors.toList());
     return(null);
 }
예제 #2
0
 public HashCalculator(InterfaceSelector selector)
 {
     this.selector = selector;
 }
예제 #3
0
 public UUIDCalculator(InterfaceSelector selector)
 {
     this.calculator = new HashCalculator(selector);
 }