Example #1
0
        protected override DeviceStream OpenDeviceDirectly(OpenConfiguration openConfig)
        {
            RequiresGetInfo();

            var stream = new LinuxHidStream(this);

            try { stream.Init(_path); return(stream); }
            catch { stream.Close(); throw; }
        }