ComputerInfo.ComputerName 属性

定义

获取计算机的名称。

public:
 property System::String ^ ComputerName { System::String ^ get(); };
public string ComputerName { get; }
member this.ComputerName : string
Public ReadOnly Property ComputerName As String

属性值

String

一个包含计算机名称的字符串。

适用于