Read Bar-code scanner value through window service (C#)

355 Views Asked by At

I have a bar-code scanner attached to my windows machine USB port.

Is it possible to create windows service which runs in background and checks if any bar-code is scanned, whenever a bar-code is scanned I want the windows service to handle it and write the input in the text file.

1

There are 1 best solutions below

1
On BEST ANSWER

@Mhadonis,

Currently, the PointOfService namespace require foreground processing to prevent background processes from getting unauthorized access to data. We have received a few requests to allow background, please submit your feature request via Developer Feedback UserVoice.

Terry Warwick, Microsoft