SmartCard framework in Windows Store Apps RRS feed

  • Question

  • Hi,

    Is there anyway to use the SmartCard framework, or any other API's to issue APDU commands to smart cards from a Windows Store app? We have a requirement to authenticate record access via a smart card before it can be displayed; and the abstracted natures of the Proximity APIs prohibit us from doing this.

    Any recommendations would be appreciated.


    Follow Me on Twitter: @LewisBenge Or check out my blog: http://www.lewisbenge.net

    Tuesday, December 11, 2012 11:36 PM

All replies

  • The only smart card support currently in WinRT is via the Windows.Security.Cryptography namespace. Similar to other WinRT APIs, it is abstracted and only allows PKI scenarios on cards that utilize the in-box smart card cryptographic providers with a smart card mini-driver. There are no current WinRT APIs that allow direct smart card access similar to WinSCard.dll.

    Jeff Shipman [MSFT] -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, December 28, 2012 6:56 PM
  • Thanks Jeff. Just to confirm there is also no way of issuing APDU commands to smart cards accessible via the proximity APIs?

    Follow Me on Twitter: @LewisBenge Or check out my blog: http://www.lewisbenge.net

    Wednesday, January 23, 2013 4:21 AM
  • "Windows 8.1 makes it easier than ever for Windows Store apps to manage virtual smart cards. Learn about using virtual smart cards when you need strong authentication, including both enterprise Bring Your Own Device (BYOD) environments, as well as consumer scenarios that require strong authentication such as banking. This session will cover what virtual smart cards are, what scenarios they can enable, and how new Windows Runtime APIs make it easy to write apps to manage both real and virtual smart cards."



    I am not sure that you can send APDUs to the card though. 


    • Edited by Andrew7Webb Thursday, June 27, 2013 3:13 AM Checked out sample
    Thursday, June 27, 2013 2:54 AM
  • Hello Lewis,

    I was caught up in a similar issue as yours and finally, I've managed to come up with something productive now. Please have a look at it (Smart Cards framework for WinRT) and you can play more with it.




    Saturday, April 12, 2014 8:52 PM
  • I realize this is a bit of an old topic, but this is possible on Windows Phone 8.1 with both Silverlight and Universal apps: http://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.smartcards.smartcardconnection.transmitasync.aspx

    - Heath @ http://blogs.msdn.com/heaths; Visual Studio Professional Deployment

    Wednesday, January 7, 2015 1:04 AM