Below is a simple snippet which will return a computer name using vb.NET

VB.NET

Dim strComputerName As String = Environment.MachineName.ToString()
Last modified: March 6, 2019

Comments

Write a Reply or Comment

Your email address will not be published.