Convert IBuffer to Byte Array

If you are looking how to convert an IBuffer to a byte array, you have to use System.Runtime.InteropServices.WindowsRuntime.

Here the code :

using System.Runtime.InteropServices.WindowsRuntime;

IBuffer myBuffer ...

byte[] myArray ...

myBuffer.ToArray();
Comments are closed

Hi there !

 

I am a technology fan of .NET, mobile development and SPA Web apps as well.


 

 

Month List