Community discussion forum

Monitoring Scanner Device using C#.NET

  • 2 months ago

    Can anybody help me to get the code to get properties of a scanner such as how much images have been scanned, name of scanner device etc. I've searched all over but couldn't get it. I've got the code for Printer device by using WMI. Is there any way to get the WMI code for scanner device also??

    Post was edited on 07/09/2009 13:40:28 Report abuse
  • 1 month ago

    See this link. http://www.codeproject.com/KB/dotnet/twaindotnet.aspx

    Alessandro Zambonin

  • 1 month ago

    Thanks for reply Alessandro, but I don't want to acquire the images, I just want to capture that event in which scanner device is called, and want to have values of properties of scanner device.

  • 1 month ago

    Ok. I think this link help you.

    http://dotnetslackers.com/Community/blogs/basharkokash/archive/2008/03/15/USB-Detection-source- code.aspx

  • 1 month ago

    Again thanks for reply Alessandro, but the page is not available now.

  • 1 month ago

    http://dotnetslackers.com/Community/blogs/basharkokash/archive/2008/03/15/USB-Detection-source-code.aspx

    Excuse extra space. Now you can view.

  • 1 month ago

    http://dotnetslackers.com/Community/blogs/basharkokash/archive/2008/03/15/USB-Detection-source-code.aspx

    Excuse extra space. Now you can view.

  • 1 month ago

    Thanks for the invaluable suggestion Alessandro, but this will check any device which supports USB. What should I do to check that the device is a scanner and get its properties and if that scanner does not support USB then?

Post a reply

Enter your message below

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!