Dynamic Lighting API in non UWP applications
I'm trying to control the leds on devices through the Dynamic Lighting API using the WinRT-Wrappers.
The code below compiles, runs and detects all relevant devices using
net8.0-windows10.0.17763.0
as the TargetFramework, but the SetColor-method does not work. (No exception, it's just doing nothing at all.)
Inside a UWP-app this works and sets the color.
I didn't find anything in the docs explaining this behavior and I'm also not really familiar with the usage of WinRT.
Is there anything obvious I'm missing or does someone know a way to get this to work?1 Reply
Test-Code: