Vbscript in C #
===

I want to disable or enable users in OS and ADAM. To achieve this i am using the below script to enable a user at the OS level. I want to run this script within the C # code and I do not want to call this vb script file from c# code. Is there a way to embed this vbscript within c # code ?

strComputer = "."

' Specify local user name.
strUser = "new"

' Bind to local user account on the computer.
Set objUser = GetObject("WinNT://" & strComputer & "/" & strUser & ",user")

' Enable the user.
objUser.AccountDisabled = True
objUser.SetInfo