Results 1 to 3 of 3

Thread: How to Check system is using IPV4 Or IPV6

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2010

    How to Check system is using IPV4 Or IPV6

    Hello everyone,

    How can I check the current network adaptor on computer is using IPV4 or IPV6 using 2013.
    I am facing an issue that Amazon RDS doesn't support IPV6 and I am using Amzon RDS.
    Therefore if client is using IPV6 I want to show a message box that change your network to IPV4

    Here is Amazon article

    Thanks in advance.

  2. #2
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Idaho Falls, Idaho USA

    Re: How to Check system is using IPV4 Or IPV6

    You could try getting the IPV6 address, and, if one is found and no IPV4 address is found, then show the message.

    Possibly useful links:

  3. #3
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Pointless Forest 38.517,-92.023

    Re: How to Check system is using IPV4 Or IPV6

    See if this points you in a directions.

            Dim h As String = System.Net.Dns.GetHostName
            Dim he As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(h)
            If he.AddressList(0).AddressFamily = Net.Sockets.AddressFamily.InterNetwork Then
            ElseIf he.AddressList(0).AddressFamily = Net.Sockets.AddressFamily.InterNetworkV6 Then
            End If
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width