Device.Net | A C # cross platform connected device framework | Change Data Capture library

 by   MelbourneDeveloper C# Version: Current License: MIT

kandi X-RAY | Device.Net Summary

kandi X-RAY | Device.Net Summary

Device.Net is a C# library typically used in Utilities, Change Data Capture applications. Device.Net has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Don't waste your time with the obscurities of connecting to devices and learning their protocol. I've done this plenty of times and I can fast track you to building an app or getting something to work.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Device.Net has a low active ecosystem.
              It has 439 star(s) with 91 fork(s). There are 25 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 54 open issues and 130 have been closed. On average issues are closed in 167 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of Device.Net is current.

            kandi-Quality Quality

              Device.Net has 0 bugs and 0 code smells.

            kandi-Security Security

              Device.Net has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              Device.Net code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              Device.Net is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              Device.Net releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              It has 81843 lines of code, 0 functions and 384 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Device.Net
            Get all kandi verified functions for this library.

            Device.Net Key Features

            No Key Features are available at this moment for Device.Net.

            Device.Net Examples and Code Snippets

            No Code Snippets are available at this moment for Device.Net.

            Community Discussions

            QUESTION

            Read HID device input, e.g. from a keyboard or barcode scanner
            Asked 2022-Mar-28 at 11:33

            So I know this question has been asked many times, but I cannot seem to find a proper answer.

            Does anyone know how to read from a HID device from any C#/.NET (.NET 6) application?

            I've tried several packages/projects, such as:

            These projects are focussed on fetching data from all keyboards and checking where the data came from.

            Now what I'm really looking for is a library/way to receive data from these devices without needing a windows forms handle or even focus to the application. It should work in such a way that I can simply get the data from the device without requiring any user interaction or focus on the application, so that it would work from a .NET console application.

            One really interesting library I found is the HID.NET library (https://github.com/MelbourneDeveloper/Device.Net), one of the issues with this library is that I get the same issue as this guy (https://github.com/MelbourneDeveloper/Device.Net/issues/88). So it states that access is denied to open the device for reading.

            This means I cannot use this library either.

            Therefore I felt like maybe someone on here could help me further. I would like any direction in which I could go to get further with this issue.

            Many thanks in advance.

            ...

            ANSWER

            Answered 2022-Mar-28 at 11:33

            Very curiously, Microsoft chose to open these sort of devices in so called "Exclusive mode", see: https://docs.microsoft.com/en-us/windows-hardware/drivers/hid/hid-architecture#hid-clients-supported-in-windows

            This states that these devices are opened in Exclusive mode:

            • Mouse class driver and mapper driver
            • Keyboard / Keypad class driver and mapper driver
            • External Pen Device
            • Integrated Pen Device
            • Touchscreen
            • Precision Touchpad (PTP)

            About this exclusive mode, they state the following:

            In the preceding table, the access mode for input HID clients is Exclusive to prevent other HID clients from intercepting or receiving global input state when they are not the target recipient of that input. Therefore, for security reasons RIM (Raw Input Manager) opens all such devices exclusively.

            If device is opened in Exclusive mode by RIM (Raw Input Manager) user can still open HID device interface without requesting read and write permissions and obtain HID device information via HIDClass support routines (HidD_GetXxx).

            This means that what I'm trying to do, so receive the USB-HID packages shall never(?) be allowed and is therefore not an option. In order to achieve such functionality as I desire, switching drivers to custom HID or COMport can be an option.

            Source https://stackoverflow.com/questions/71369979

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install Device.Net

            You can download it from GitHub.

            Support

            This project needs funding. Please sponsor me here so that I can contribute more time to improving this framework. This project also needs unit tests, bug fixes and work towards more platforms. Please read this. This framework uses the MIT license. I won't sue you, or your business if you use this for free. If you are developing software for free, I don't expect you to sponsor me. However, if your business makes more than USD 100,000 per year and your software depends on Device.Net, I expect your business to make a serious contribution via sponsorship.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/MelbourneDeveloper/Device.Net.git

          • CLI

            gh repo clone MelbourneDeveloper/Device.Net

          • sshUrl

            git@github.com:MelbourneDeveloper/Device.Net.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Change Data Capture Libraries

            debezium

            by debezium

            libusb

            by libusb

            tinyusb

            by hathach

            bottledwater-pg

            by confluentinc

            WHID

            by whid-injector

            Try Top Libraries by MelbourneDeveloper

            RestClient.Net

            by MelbourneDeveloperC#

            Trezor.Net

            by MelbourneDeveloperC#

            Jayse

            by MelbourneDeveloperC#

            CryptoCurrency.Net

            by MelbourneDeveloperC#

            Samples

            by MelbourneDeveloperC#