'Windows Sensor API access from .NET with C#, VS2015 and Windows 10
How can I access the Windows Sensor API from C#?
Everything I can find is either for C++ or referencing outdated libraries.
I tried using the Windows API Code Pack from the article Using the Windows 7 Sensor and Location Platform from C#. It sort of works but randomly generates unhandled win32 exceptions:
I have also seen references to a Sensor and Location .NET Interop Sample Library but can't locate the actual library.
I also don't see anything related to Sensors in Reference Manager COM Type Libraries.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|