Share via


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

See Also

Reference

ComputerInfo Class

Microsoft.VisualStudio.TestTools.Common Namespace