Click here to Skip to main content
16,020,822 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can i create a mask format for IP field in PropertyGrid ?
Thank You;
Posted

What exactly are you trying to do?

You can use IPAddress.Parse() or IPAdress.TryParse() to verify that a given piece of text is in fact a valid IP Address

You can also use a MaskedTextBox where the user can type in the IP Address as a first line of verification.

Hope this helps
 
Share this answer
 
Thanks! It works as it should! Thank you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900