How do I get my local IP in vb.net?

As a followup questions how would I connect to a remote computer like we could with the winsock control in VB.

I know I can use the winsock control, but I wanted to use the .Net framework.