コード例 #1
0
        public void Stop()
        {
            if (_instream == null)
            {
                throw new Exception("You MUST call Initialize()");
            }

            _instream.Dispose();
        }
コード例 #2
0
        public void Dispose()
        {
            _instream?.Dispose();
            _instream = null;

            Device?.RemoveReference();
            Device = null;

            _api?.Disconnect();
            _api?.Dispose();
        }