This documentation is archived and is not being maintained.

ComputerInfo::MachineName Property

Returns the host name. Do not use Environment.MachineName because that truncates at 15 characters (NetBIOS name limit - by design). http://blogs.msdn.com/brada/archive/2005/08/10/449767.aspx

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public:
static property String^ MachineName {
	String^ get ();
}

Property Value

Type: System::String

Show: