Obtener IP y extraer IPv4
1.0.0
Example in C# and Visual Basic of how to obtain the IPs (IPv4 and IPv6) and extract only the IPv4
Code from the post Obtain the IPs (IPv4 and IPv6) of the user and show only the IPv4 using .NET (Core) [Code for Visual Basic and C#] published on my blog elguillemola.com.
In addition to the code of the two console-type projects for VB and C#, I have added another class library-type project created with .net standard 2.0, and which I have placed (the DLL) in the bin directory of my site www.elguille.info , with the idea of being able to see the code in action. The testing page is: Utils IP (.NET Core).