private void InitializePerformanceCounters() { lock(pcLock) { if(participant != null) { pc = new RtpSessionPC(participant.CName + " - " + multicastEP.ToString()); } } }
private void DisposePerformanceCounters() { lock(pcLock) { if(pc != null) { pc.Dispose(); pc = null; } } }
private void InitializePerformanceCounters() { // Check to see if user has permissions to read performance counter data if (BasePC.PerformanceCounterWrapper.HasUserPermissions()) { lock(pcLock) { if(participant != null) { pc = new RtpSessionPC(participant.CName + " - " + nextHopEP.ToString()); } } } }