ComputerInfo.ComputerName Property
Gets the name of the computer.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public ReadOnly Property ComputerName As String
public string ComputerName { get; }
public:
property String^ ComputerName {
String^ get ();
}
member ComputerName : string
function get ComputerName () : String
Property Value
Type: System.String
A string that contains the name of the computer.
.NET Framework Security
- 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.