There was an error while loading. Please reload this page.
(easiest example to start with)
Then all you have to do:
var reader = new BarcodeReader(); reader.Options.PossibleFormats = new List<BarcodeFormat> { BarcodeFormat.QR_CODE }; using (var image = new MagickImage(filepath)) { var result = reader.Decode(image); if (result != null) { return result.Text; } } return null;