jsakamoto / ipaddressrange

.NET Class Library for range of IP address, both IPv4 and IPv6.
Mozilla Public License 2.0
368 stars 71 forks source link

Information #83

Closed SleemMostafa closed 6 months ago

SleemMostafa commented 6 months ago

Use this package in many places Is there a guarantee that the client will not be allowed to enter numbers like 888888 ? I want it to just enter the same pattern, this is 192.168.80.0/24 or 192.168.80.0-255. without using expression pattern

jsakamoto commented 6 months ago

@SleemMostafa Unfortunately, this library can not be used for input validation to make user input a strict particular format. You may have to do that by yourself, such as using regular expression pattern matching.

SleemMostafa commented 6 months ago

ok thanks @jsakamoto