How to capture and react to event when scanning QR code in C#? I’m trying to capture QR code (or barcode if need be) scan event.