diff --git a/Samples/BarcodeScanner/cs/Scenario1_BasicFunctionality.xaml.cs b/Samples/BarcodeScanner/cs/Scenario1_BasicFunctionality.xaml.cs index 9f78c52980..b402156b49 100644 --- a/Samples/BarcodeScanner/cs/Scenario1_BasicFunctionality.xaml.cs +++ b/Samples/BarcodeScanner/cs/Scenario1_BasicFunctionality.xaml.cs @@ -93,6 +93,9 @@ private async void ScenarioStartScanButton_Click(object sender, RoutedEventArgs // Note: If the scanner is not enabled (i.e. EnableAsync not called), attaching the event handler will not be any useful because the API will not fire the event // if the claimedScanner has not beed Enabled await claimedScanner.EnableAsync(); + + // Begin scanning + await claimedScanner.StartSoftwareTriggerAsync(); rootPage.NotifyUser("Ready to scan. Device ID: " + claimedScanner.DeviceId, NotifyType.StatusMessage); ScenarioEndScanButton.IsEnabled = true;