Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. MagTek MSR , Magnetic Swipe Reader

MagTek MSR , Magnetic Swipe Reader

Scheduled Pinned Locked Moved C#
csharp
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hari CodeBlogger
    wrote on last edited by
    #1

    I'm working with the Magnetic Swipe Reader of MagTek (PN-21065140). Couldn't get a proper CSharp Sample or demo application. I hope this runs in a Keyboard Emulator so it reads the data if any Textbox , Notepad , wordpad and so are opened. I need a proper way of working with this swipe. That is to fire an event to detect if card is swiped. To get the card data and Track Number. If someone could give me ideas, Samples to work with it would be great. Thanks in advance.

    B G 2 Replies Last reply
    0
    • H Hari CodeBlogger

      I'm working with the Magnetic Swipe Reader of MagTek (PN-21065140). Couldn't get a proper CSharp Sample or demo application. I hope this runs in a Keyboard Emulator so it reads the data if any Textbox , Notepad , wordpad and so are opened. I need a proper way of working with this swipe. That is to fire an event to detect if card is swiped. To get the card data and Track Number. If someone could give me ideas, Samples to work with it would be great. Thanks in advance.

      B Offline
      B Offline
      BillWoodruff
      wrote on last edited by
      #2

      I suggest you look at the samples on MSDN using Windows POS: [^], like this one: [^].

      « I am putting myself to the fullest possible use which is all, I think, that any conscious entity can ever hope to do » HAL (Heuristically programmed ALgorithmic computer) in "2001, A Space Odyssey"

      1 Reply Last reply
      0
      • H Hari CodeBlogger

        I'm working with the Magnetic Swipe Reader of MagTek (PN-21065140). Couldn't get a proper CSharp Sample or demo application. I hope this runs in a Keyboard Emulator so it reads the data if any Textbox , Notepad , wordpad and so are opened. I need a proper way of working with this swipe. That is to fire an event to detect if card is swiped. To get the card data and Track Number. If someone could give me ideas, Samples to work with it would be great. Thanks in advance.

        G Offline
        G Offline
        Garth J Lancaster
        wrote on last edited by
        #3

        it always bothers me slightly when someone says 'couldn't get a demo' - any properly sourced piece of kit should come with drivers and/or demos and/or a pointer to the website MagTek have a lot of resources on their website, for example http://www.magtek.com/support/software/demo_programs/usb_swipe_insert.asp[^] http://www.magtek.com/support/software/demo_programs/card/usb_hid_swipe_readers/usb_hid_swipe_readers.asp[^] http://www.magtek.com/docs/99875205.pdf[^] It seems it will work in both Keyboard and 'HID' modes (the pdf reference shows how to change) "That is to fire an event to detect if card is swiped" .. hmm, you may only get that if you're using it in HID mode as opposed to keyboard mode

        H 1 Reply Last reply
        0
        • G Garth J Lancaster

          it always bothers me slightly when someone says 'couldn't get a demo' - any properly sourced piece of kit should come with drivers and/or demos and/or a pointer to the website MagTek have a lot of resources on their website, for example http://www.magtek.com/support/software/demo_programs/usb_swipe_insert.asp[^] http://www.magtek.com/support/software/demo_programs/card/usb_hid_swipe_readers/usb_hid_swipe_readers.asp[^] http://www.magtek.com/docs/99875205.pdf[^] It seems it will work in both Keyboard and 'HID' modes (the pdf reference shows how to change) "That is to fire an event to detect if card is swiped" .. hmm, you may only get that if you're using it in HID mode as opposed to keyboard mode

          H Offline
          H Offline
          Hari CodeBlogger
          wrote on last edited by
          #4

          Thank you Garth. Actually thats a mistake of using the word "Couldn't". I meant that i couldn't get a working C# Code from their website. Thanks a lot for your Suggestion. Is there a way i could trigger an event when a card gets swiped. If so that would give the solution i'm looking for. Thanks in advance.

          M 1 Reply Last reply
          0
          • H Hari CodeBlogger

            Thank you Garth. Actually thats a mistake of using the word "Couldn't". I meant that i couldn't get a working C# Code from their website. Thanks a lot for your Suggestion. Is there a way i could trigger an event when a card gets swiped. If so that would give the solution i'm looking for. Thanks in advance.

            M Offline
            M Offline
            Moazza anwer
            wrote on last edited by
            #5

            Hey hari, i too want the solution of this , comment if you got the solution.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups