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

See Also

Reference

ComputerInfo Class

Microsoft.VisualStudio.TestTools.Common Namespace