public bool LoadCounterName()
{
string newName = this.GetCounterName(this.appPoolName);
if (!string.IsNullOrEmpty(newName) && this.counterName != newName)
{
if (this.counterListener != null)
{
this.counterListener.Dispose();
this.counterListener = null;
}
this.counterName = newName;
return true;
}
return false;
}