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?
During build they mentioned that to get an IBuffer, there’s an extension method on
Share
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”.