Example #1
0
        /// <summary>
        /// Dispose the Sampler. This means Closing of the underlying stream.
        /// </summary>
        public void Dispose()
        {
            if (frameServerIsRunnig)
            {
                StopFrameServer();
            }

            if (provider != null)
            {
                provider.CloseStream();
            }
        }