I have always connected to remote servers via the VBscript code below .. is there a similar way to connect in VB.NET?

I have found all the ways to connect remotely as long as the calling machine has the correct privilages, I need to be able to connect assigning user/pass.

VB Code:
  1. Set objLocator = CreateObject( "WbemScripting.SWbemLocator")
  2. Set objWMIService = objLocator.ConnectServer(strServer,"root/cimv2",strUser,strPassword)
  3. objWMIService.Security_.impersonationlevel = 3