During build they mentioned that to get an IBuffer, there's an extension method on byte arrays called AsBuffer(). Unfortunately they didn't mention what namespace it's hiding in, and doesn't seem to be in the many I've added. Has anyone found where it's hiding at?
The namespace is System.Runtime.InteropServices.WindowsRuntime
.
VS Object Browser is your friend here - just be sure to set the framework switcher accordingly. For .NET libraries available in Metro apps, you want ".NET Framework Core 4.5".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With