C# .Net4 Check Reader MICR Number Parsing
I开发者_运维百科 have searched on this, but I think my question is a little more specific than what's out there.
I intend on creating a class that reliably reads a MICR number and sharing the source if I can get a reliable one created.
Anyhow, I looked at .Net POS MICR, and from what I can tell it won't take a value that you've scanned outside of .Net.
My scenario:
I am provided with the MICR numbers. Here are a few examples (altered of course):
T012345609T 2123456U $0000044336$
T123456080T1010123456535U01183
U014749U T062000080T2000697098326U
U005195U T099884411T426549872265U
I need to reliably parse out this information in C# and supply the following, if available:
- Check number
- Routing number
- Account number
- Amount of check
I have written code for it, but I quickly found that there are different ways a MICR number can be printed on a check, as you can see above.
Does anyone have any suggestions, code examples, or even another post/link where this is being done already? I'd hate to reinvent the wheel if it's already done.
thanks!
精彩评论