Click or drag to resize

PerformanceMonitorBaseFindCounter(String, String) Method

Returns a PerformanceCounter object matching the specified counter name.

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
Syntax
public PerformanceCounter FindCounter(
	string categoryName,
	string counterName
)
View Source

Parameters

categoryName  String
Category of the PerformanceCounter to be retrieved.
counterName  String
Name of the PerformanceCounter to be retrieved.

Return Value

PerformanceCounter
A PerformanceCounter object if a match is found; otherwise null.
See Also