This documentation is archived and is not being maintained.
ComputerInfo::MachineName Property
Visual Studio 2013
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)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: