Visual Studio .NET Tips and Tricks, VB.NET Code Samples, C# Code Snippets, ASP.NET Code Samples, .NET Tips and Tricks, C# Tips & Tricks, Visual Studio 2010, .NET Framework Code Samples, VB.NET Tips & Tricks
Get Computer Name using .NET (C#)
The following code will get the name of the computer (NetBIOS name of the local computer)
Console.WriteLine("Machine Name := " + Environment.MachineName);
See also
Get Computer Name (VBA)
Get Computer Name in .Net
this was really helpful to methaks a lot
Hi I'm Prashant.Thanx a lot for small but helpful codeline.
thnkss alot yar....
Exactly what I needed. Thank you!
how to get host name of another system in .net?
this was really helpful to me
ReplyDeletethaks a lot
Hi I'm Prashant.
ReplyDeleteThanx a lot for small but helpful codeline.
thnkss alot yar....
ReplyDeleteExactly what I needed. Thank you!
ReplyDeletehow to get host name of another system in .net?
ReplyDelete