Get Computer Name in C# without referencing Microsoft.VisualBasic.dll
- by johnc
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