PerformanceCounterPermissionAttribute.MachineName Property


Gets or sets the computer name for the performance counter.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public string MachineName { get; set; }

Property Value

Type: System.String

The server on which the category of the performance counter resides.

Exception Condition

The MachineName format is invalid.

.NET Framework
Available since 1.1
Return to top