Get Computer Name in C# without referencing Microsoft.VisualBasic.dll
Posted
by johnc
on Stack Overflow
See other posts from Stack Overflow
or by johnc
Published on 2010-03-17T02:08:42Z
Indexed on
2010/03/17
2:11 UTC
Read the original article
Hit count: 554
Is there any way, other than referencing the Microsoft.VisualBasic.dll (such as as below in .NET 3) to retrieve to Computer Name
new Microsoft.VisualBasic.Devices.ServerComputer().Name
© Stack Overflow or respective owner