/// <summary>
 /// Create a Performance counter install attribute to assist in run-time perfmon counter creation
 /// </summary>
 /// <param name="type">This counters internal type.  Needed base types are automagically created with the name appended with 'base'</param>
 /// <param name="category">This counters category.  All categories are fixed at the time of creation</param>
 /// <param name="lifetime">This counters lifetime, by default all counters are global except for dynamically created instances</param>
 /// <param name="categoryType">The category type (multi or single instance)</param>
 /// <param name="ConnectInstancetype">The CSGO instance type </param>
 /// <param name="counterName">This counters name</param>
 /// <param name="counterHelp">This counters help string</param>
 public PerformanceCounterInstallAttribute(
     PerformanceCounterType type,
     PerformanceCounterCategories category,
     PerformanceCounterInstanceLifetime lifetime,
     PerformanceCounterCategoryType categoryType,
     CounterInstanceType counterInstancetype,
     string counterName,
     string counterHelp,
     string instanceType)
 {
     _type = type;
     _category = category;
     _lifeTime = lifetime;
     _categoryType = categoryType;
     _counterInstanceType = counterInstancetype;
     _counterName = counterName;
     _counterHelp = counterHelp;
     _instanceType = instanceType;
 }
 /// <summary>
 /// Construct a helper class to manage Perfmon counters for Connect
 /// </summary>
 /// <param name="category">The category for this counter</param>
 /// <param name="name">This counters name</param>
 /// <param name="counterHelp">This counters help string</param>
 /// <param name="type">This counters type</param>
 /// <param name="instance"></param>
 public PerformanceCounter(string category, string name, string counterHelp,
     PerformanceCounterType type, String instance)
 {
     _category = category;
     _name = name;
     _counterHelp = counterHelp;
     _type = type;
     _counterInstanceType = String.IsNullOrEmpty(instance) == false ? CounterInstanceType.Static : CounterInstanceType.Dynamic;
     _instance = instance;
 }