Hey there, ☺️
First, thank you for creating this library as it facilitated the creation of a small tool to help my family syncing photos very easily.
I created a small app with it and I wanted initially to use it in a NativeAOT scenario (in the end I did a .NET tool) so I ported MediaDevices to the new source generated based COM wrappers and tried to make the API respecting nullable. It's in my internal fork at https://github.com/xoofx/CameraSyncApp/tree/main/src/MediaDevices
It also requires .NET 9 which might not be a good fit here (.NET 8 has a bug with ComObject.FinalRelease dotnet/runtime#96901)
As it is a quick and small project to unblock my family, cannot take the time to upstream. The port was not entirely easy, and as I'm using a very rudimentary subset of the API, it might still have several regressions here and there. But it could be a starting point, in case you are interested. I saw that you have a 2.0 branch, so just in case, sharing it here. 🙂
Hey there,☺️
First, thank you for creating this library as it facilitated the creation of a small tool to help my family syncing photos very easily.
I created a small app with it and I wanted initially to use it in a NativeAOT scenario (in the end I did a .NET tool) so I ported MediaDevices to the new source generated based COM wrappers and tried to make the API respecting nullable. It's in my internal fork at https://github.com/xoofx/CameraSyncApp/tree/main/src/MediaDevices
It also requires .NET 9 which might not be a good fit here (.NET 8 has a bug with
ComObject.FinalReleasedotnet/runtime#96901)As it is a quick and small project to unblock my family, cannot take the time to upstream. The port was not entirely easy, and as I'm using a very rudimentary subset of the API, it might still have several regressions here and there. But it could be a starting point, in case you are interested. I saw that you have a 2.0 branch, so just in case, sharing it here. 🙂