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 with get
function get ComputerName () : String
Property Value
Type: 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.