is there a way in vb .net of "releasing" a given network adapter? having the same effect as the dos prompt command

"ipconfig /realease [adapter]"