Update and restart vb.net

What is the direct command in the code to check and install update and restart the application?

Use the AutomaticUpdater, it handles everything automatically. Just set a few properties and you don't have to call any functions.

You can call functions, but, like I said, it's unnecessary.