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 ...

Comments are closed

Hi there !


Specialized in .net technologies for many years, I am a technology fan in both and wpf/silverlight, using c# and .net 4.5

Taking advantages of new opportunities offered by the Windows Azure platform and WP/Win 8, I develop applications for Windows Phone, 5 of them are already available on the market place.



Month List