How to get system hostname on SharpDevelop-VB.Net

September 18, 2015 | By | Reply More

This quick VB.Net tips will show you how to get and display the system hostname using SharpDevelop (VB.Net language). Its pretty easy to get the current system hostname using VB.Net language. I am not using Visual Basic editor, but here I use the free SharpDevelop application.

Here is my form design

get system hostname 1

Here is the code :

[codesyntax lang=”vbnet”]

[/codesyntax]

Or

[codesyntax lang=”vbnet”]

[/codesyntax]

Those two codes produce the same result when the button is clicked

get system hostname 2

Tags: , , , , ,

Category: Programming, VisualBasic.NET

Leave a Reply