Note
While random numbers can be used to generate a distinct computer name, it is not
necessarily guaranteed to be a unique name on the network.
public string? ComputerName { get; set; }
Public Property ComputerName As String
Get
Set
public:
property String^ ComputerName {
String^ get ();
void set (String^ value);
}
member ComputerName : string with get, set
If this property is set to a value containing the # character, each # will be replaced with a random digit between 0 and 9. For example, the value "PC-###" will be replaced with "PC-123" (or any other random number).