Skip to content

About

IPv4 Address TextBox for .NET Framework

Resources

Stars

4 stars

Watchers

2 watching

Forks

Repository files navigation

IPv4AddressTextBox

IPv4 Address TextBox for .NET Framework, nothing more! I tried to cover all transitions and character validation, please, if there is any other thing to be covered, let me know.

NuGet GitHub release

Implementation

You do not need any thing special, just add the assembly (dll) to your project's references, and you should find the control in the Toolbox of Visual Studio.

Usage

Change control size

Use the Font property to change the size of the control.

Programatically enter IP

Set all from System.Net.IPAddress

IPv4AddressTextBox.IPAddress = new IPAddress("192.168.1.100");

Set Octet individually

IPv4AddressTextBox[0] = 192; IPv4AddressTextBox[1] = 168; IPv4AddressTextBox[2] = 1; IPv4AddressTextBox[3] = 100;

Set all from String

IPv4AddressTextBox.Text = "192.168.1.100";

Compatibility

.NET Framework >= 2.0

About

IPv4 Address TextBox for .NET Framework

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages