Click here to Skip to main content
15,439,117 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a 2D scanner that returns this string though a COM port.

??-??-?&???l7\vH@?\f?0@\b?!i??+\n?\n?\0\0?\0H?\0?,?\0H?????L&0??\v?xm?Ll&?;? \n??Vo???a?n?

I tried many ways to decrypt the string but no result.

Can anyone help.
Updated 1-Feb-14 18:49pm

1 solution

The chances are that it isn't encrypted - it's just plain wrong, or it's binary information.
Look at the documentation for your scanner, and see what it says it produces, and how it expects the interface to be configured - your use of "COM port" implies it's a rather old device, which would normally need a driver disk, if it is not directly supported by Windows.

Frankly, if it would normally have a driver, then I don't hold out much hope of your getting it to work directly via C# or VB without it, and if it does have the driver loaded, then you shouldn't be talking directly to it anyway!
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900