Exemple #1
0
 /// <summary>
 /// ToString
 /// </summary>
 /// <returns>String</returns>
 public override string ToString()
 {
     return($"{Begin.ToIPAddress()}/{End.ToIPAddress()}");
 }
 /// <summary>
 /// Conver to an ip address range
 /// </summary>
 /// <returns>IPAddressRange</returns>
 public IPAddressRange ToIPAddressRange() => new IPAddressRange(Begin.ToIPAddress(), End.ToIPAddress());