public IPEnumerator(string startAddress, string endAddress) { this.startAddress = startAddress; this.endAddress = endAddress; currentIP = IPEnumeration.AddressToInt(startAddress); endIP = IPEnumeration.AddressToInt(endAddress); isFirstEnumerate = true; }
public void Reset() { isFirstEnumerate = true; currentIP = IPEnumeration.AddressToInt(startAddress); }