This repository was archived by the owner on Jun 5, 2019. It is now read-only.
This repository was archived by the owner on Jun 5, 2019. It is now read-only.
Suggestions on the way forward for accessing persistent settings storage? #504
Open
Description
MFDeploy can read/write named blocks in the target device, and the Native code in the device can access these named regions easily with the existing methods. (ConfigHelper.cpp)
The missing link is managed code to also access these named regions.
We could create Interop class to call the native methods to read/write the blocks as byte[] data.
Suggested methods to Marshal the byte[] to C# structs?
My initial need is for settings that don't change often. i.e. single image of FW that can be configured to behave in different ways. I can therefore make something that works with only a byte[] in the managed code. However, a more general solution would be nice to get done from the outset.
Any suggestions? and working code ? :-)