I'm working on converting what was originally a web forms .NET application to UWP. The application is for using company-issued badges to record meeting attendance instead of our current paper sign in sheets. The original program uses an Omnikey 5427 CK in keyboard wedge mode and has no problems. For [...] read more
INTRODUCTION I am learning how to use Smart Card API in order to obtain card number once it gets inserted into reader. So far I have managed to create a working application that runs (as far as I can see) without errors. PROBLEM During debugging I see various First chance [...] read more
Can someone help me understand why Win32 error codes don't match method signatures and what is the correct way to deal with this issue? Take for example SCardReleaseContext, as per the MSDN documentation the return type is LONG. As per this MSDN article, the c# equivalent of LONG is int. [...] read more
I had a working contactless system in Windows XP. But when I tried to run it under Win7 it fails in this sCardTransmit function even though it runs connect function well: UCHAR ucAnswerL[255]; DWORD ucAnswerSizeL = 0; BYTE m_send[256]; ucAnswerSizeL = 255; m_send[0] = 0x00; m_send[1] = 0x12; m_send[2] = [...] read more