Get IP Address of Router?!?! (and List Network Interfaces)
Ok, so I've been rummaging through System.Net in Beta 2 and I'm impressed. There's just a ton of new stuff that is rockin'! However, what I'm really looking for is a way to figure out how to tell if my machine's IP address is a real internet address (if that's not possible, that's ok), but more importantly what my router's ip address is. Does anyone know a way to accomplish this? Sorry this is just a question entry, no real info! :( Er...wait, I've got one. Want to list out all the network adapters on your machine and different bits of info about them like if they support IPv6, how many bytes have been sent in and out, etc ??? Take a look at System.Net.NetworkInformation.NetworkInterface. There, now I don't feel so bad! :P
Dim Erik As New Person(Of Idiot)
Person<Idiot> Erik = new Person<Idiot>();