Windows Phone Developers

Showing posts with label .Net Get Computer Name. Show all posts
Showing posts with label .Net Get Computer Name. Show all posts

Thursday, October 30, 2008

C# Get Computer Name – Name of the Computer using C#

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

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

Thursday, June 7, 2007

Get Computer Name in .Net

Use the My object to get the name of the computer

' Returns Name of the Computer

Function Get_Comp_Name() As String

Return My.Computer.Name.ToString

End Function

The VBA/Visual Basic function to do the same is :
http://vbadud.blogspot.com/2007/05/get-computer-name.html

The SQL Statement to get the computer name is :
http://sqldud.blogspot.com/2007/04/get-computer-name-from-sql-query.html



Changing LINKS
Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon