How can I copy a variable which is of type IBuffer in C# (UWP app) to a string? The IBuffer itself doesn't seem to have any methods. It has Length which seems to be the correct value. But I cannot see the value in debugger (says requires Native debugging). Below is the class. I need to get Data.
public sealed class MagneticStripeReaderTrackData : IMagneticStripeReaderTrackData
{
public IBuffer Data { get; }
IBuffer
sounds like an interface - you'll need an implementation to see any data. – Whisker