No way to send/receive APDU to SmartCard Reader from W8.1?

Hi everybody,
with Windows Phone 8.1 you have the SmartCardConnection class through which you can send APDU to a smartcard (see below)
private async Task sendApduToReader()
string selector = SmartCardReader.GetDeviceSelector(SmartCardReaderKind.Generic);
DeviceInformationCollection devices = await DeviceInformation.FindAllAsync(selector);
if (devices != null && devices.Count != 0)
SmartCardReader reader = await SmartCardReader.FromIdAsync(devices.First().Id);
IReadOnlyList<SmartCard> cards = await reader.FindAllCardsAsync();
if (cards != null && cards.Count != 0)
SmartCard card = cards.First();
//Here in W8.1 there is no ConnectAsync method and no SmartCardConnection class.
SmartCardConnection connection = await card.ConnectAsync(); var responseBuf = await connection.TransmitAsync(SOMEDATA);
In Windows 8.1 API there is no such class, so there is no way to send APDU to the smartcard.
Is there any workaround?
Many Thanks!

Oops, sorry, misunderstand your previous question :)
Yes, the API only works on Windows Phone 8.1 but not work on Windows Store App, and there seems no equivalent method that can do it. 
I also found some comments from:
http://channel9.msdn.com/Events/Build/2013/2-041#c635084018346669735, only Win32 applications can send APDU commends to SmartCardDevice.
On the other side, if we want to make things ready, we need to create our own wrapper, I found an interesting blog that you can follow:
http://www.codeproject.com/Articles/540839/Using-Smart-cards-with-a-Windows-Store-App
Hope helps.
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Is there a way to send an email and prevent it from being forwarded

    Is there a way to send an email and prevent it from being forwarded

    Not with the most common email systems - webmail, POP, SMTP or IMAP. 
    The only email system I know of that can prevent forwarding (or copying or printing) is Lotus Notes (now called IBM Notes).  I believe it can technically be done within an MS Exchange environment, but I have never actually seen it implemented in one.

  • Is there a free way to send/receive faxes with a Mac?

    efax is not a reasonble option anymore as it does not allow for Mac viewing software, so is there another way to send and receive faxes on a Mac (preferably for free).

    "Thank you, the problem with eFax is they have not kept up with Mac Development so the new OS' do not support the viewers that eFax puts out and you can't read their file format without that.  You can open online, but you can't do anything with the fax after opening it, can forward, can save, etc..."
    True, you can't use eFax software, however, I have asked them to send me the fax in pdf form and that works out just fine.

  • IPhone SDK, any way to send/receive a text SMS?

    I've been looking through the iPhone SDK for a way to send a SMS from my application. Also I'd like to inspect the SMS inbox for specfic messages that have been received. Has anyone been able to send/receive a SMS from their application?
    Thanks,
    Tony

    I think this is a limitation of the Beta SDK.
    I've read that there are many limitations in place for 3rd party-developed apps that are designed to maintain integrity of the OS but I can't see Apple being so Dickensian.
    Hopefully, much more will be unleashed with the full release of the SDK.
    Stu

  • Outlook 2011 for Mac users must click send/receive to get new mail from exchange 2013 server

    I recently switched our primary CAS servers over from a single exchange 2010 cas/mailbox/hub server to a couple new exchange 2013 CAS/Mailbox servers.  Exchange 2013 has cu3, and is hosted on windows server 2012.  Anyone who has their mailbox hosted
    on one of these exchange 2013 servers has an issue where they must click the send/receive button to get new messages downloaded to their client. This is only the case for outlook 2011 for mac client.  Activesync clients, mac mail, OWA, and Outlook 2010/13
    all behave normally.
    Where can I look or what can I check to troubleshoot this issue?

    Hi,
    Any good news from the Mac Forum?
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • How do I prevent my moms msgs she sends/receives on her own phone from linking to mine??

    when my mom got an iPhone i set it up under my iCloud/iTunes account, now that I've set her up with her own, and deleted her device from my account... all of the messages she sends or receives are still being linked to my phone!! Someone PLZ help me! How do I stop this?! Thank u in advance!  

    To keep from getting each other's messages, don't use the same Apple ID for iMessage.  Check the ID in Settings>Messages>Send & Receive.  If you are both using the same ID, one of you needs to tap the ID, sign out, then sign back in with a different ID.

  • What is the best way to find what version of PDF Reader from Adobe is installed on a windows OS?

    Hi,
    I am developing a .Net App in which i want to find which version of PDF Reader from Adobe is installed on an Windows OS.
    It can be any of the software
    Adobe Reader
    Adobe Acrobat X Pro
    or any other.
    How to find out?

    The best way would be to find and query the AcroRd32.exe executable. The file version information is stored in the executable itself.
    There are lots of places in the registry that you could also potentially access relevant information.
    For example the uninstall string:
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    Contains a string that you could use to search for the application version.
    How you would do this in .NET I'm not sure but you would use some kind of text search command to search for the relevant text and then use "if exists" condition.

  • How to send msgs to tuxedo and read from tuxedousing jca adapter at jboss6

    Hi i had only Tuxedo ip and port number.i have to send messsages to tuxedo server and read from tuxedo server i did below changes at ra.xml and dmconfig.xml
    what are the services i have to use plz give me reply .Thanks in advance.
    my ra.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <connector xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
    version="1.5">
    <display-name>Tuxedo JCA Adapter</display-name>
    <vendor-name>Oracle</vendor-name>
    <eis-type>Tuxedo</eis-type>
    <resourceadapter-version>11gR1(11.1.1.2.1)</resourceadapter-version>
    <license>
    <description>Tuxedo SALT license</description>
    <license-required>false</license-required>
    </license>
    <resourceadapter>
    <resourceadapter-class>com.oracle.tuxedo.adapter.TuxedoResourceAdapter</resourceadapter-class>
    <config-property>
    <config-property-name>traceLevel</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>80000</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>xaAffinity</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>true</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>keyFileName</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value></config-property-value>
    </config-property>
    <config-property>
    <config-property-name>dmconfig</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>D:\jboss-6.1.0.Final\server\mpayv4_dev\deploy\dmconfig.xml</config-property-value>
    </config-property>
    <outbound-resourceadapter>
    <connection-definition>
    <managedconnectionfactory-class>com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory</managedconnectionfactory-class>
    <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
    <connectionfactory-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoConnectionFactory</connectionfactory-impl-class>
    <connection-interface>javax.resource.cci.Connection</connection-interface>
    <connection-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoJCAConnection</connection-impl-class>
    </connection-definition>
    <transaction-support>NoTransaction</transaction-support>
    <authentication-mechanism>
    <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
    <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
    </authentication-mechanism>
    <reauthentication-support>false</reauthentication-support>
    </outbound-resourceadapter>
    </resourceadapter>
    </connector>
    ==========================
    and dmconfig.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <TuxedoConnector>
    <LocalAccessPoint name="local_1">
    <AccessPointId>dev_scurtis</AccessPointId>
    <NetworkAddress>//ip:port</NetworkAddress>
    </LocalAccessPoint>
    <RemoteAccessPoint name="e1tst_tdtux01">
    <AccessPointId>e1tst_tdtux01</AccessPointId>
    <NetworkAddress>//ip:port</NetworkAddress>
    </RemoteAccessPoint>
    <Import name="TOUPPER">
    <RemoteName>TOUPPER</RemoteName>
    <SessionName>session_1</SessionName>
    <LoadBalancing>RoundRobin</LoadBalancing>
    </Import>
    <Import name="ECHO">
    <RemoteName>ECHO</RemoteName>
    <SessionName>session_1</SessionName>
    <LoadBalancing>RoundRobin</LoadBalancing>
    </Import>
    </TuxedoConnector>

    Hi todd Thanks for your reply
    iam using below java code in jsp ,iam not getting the response plz suggest me any changes
    <%@ page import ="javax.naming.Context,
    javax.naming.InitialContext,
    javax.naming.NamingException,
    javax.ejb.CreateException,
    javax.resource.cci.ConnectionFactory,
    javax.resource.cci.Connection,
    javax.resource.cci.Interaction,
    javax.resource.cci.InteractionSpec,
    javax.resource.ResourceException,
    weblogic.wtc.jatmi.TPException,
    weblogic.wtc.jatmi.TPReplyException,
    com.oracle.tuxedo.adapter.TuxedoReplyException,
    com.oracle.tuxedo.adapter.cci.TuxedoStringRecord,
    com.oracle.tuxedo.adapter.cci.TuxedoInteractionSpec" %>
    <html>
    <head>
    </head>
    <body>
    <h1>Tuxedo Test</h1>
    <%
    System.out.println("Check Connection JNDI");
    String result="";
    result=Toupper("harikrishna");
    %>
    <%!
    public String Toupper(String string_to_convert) throws TPException, TuxedoReplyException
    Context ctx;
    ConnectionFactory cf;
    Connection c;
    Interaction ix;
    TuxedoStringRecord inRec;
    TuxedoStringRecord outRec;
    TuxedoInteractionSpec ixspec;
    try {
    ctx = new InitialContext();
    cf = (ConnectionFactory)ctx.lookup("java:jca/tuxedo");
    c = cf.getConnection();
    ix = c.createInteraction();
         ixspec = new TuxedoInteractionSpec();
         ixspec.setFunctionName("TOUPPER");
         ixspec.setInteractionVerb(InteractionSpec.SYNC_SEND_RECEIVE);
         inRec = new TuxedoStringRecord();
         outRec = new TuxedoStringRecord();
         inRec.setRecordName("MyInputData");
         outRec.setRecordName("MyOutputData");
         outRec.setString(string_to_convert);
         ix.execute(ixspec, inRec, outRec);
         ix.close();
         c.close();
         String returned_data = outRec.getString();
         return returned_data;
         catch (NamingException ne) {
         throw new TPException(TPException.TPESYSTEM,
         "Could not get TuxedoConnectionFactory"+ne);
         catch (ResourceException re) {
         throw new TPException(TPException.TPESYSTEM,
         "ResourceException occurred, reason: " + re);
    %>
    </body>
    </html>
    =======================================
    In tuxedo.lod at my jboo6/bin iam getting this informatin
    e property Security.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 60,000 to create default session profile property BlockTime.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use false to create default session profile property Interoperate.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 60 to create default session profile property RetryInterval.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 9,223,372,036,854,775,807 to create default session profile property MaxRetries.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property KeepAlive.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 10,000 to create default session profile property KeepAliveWait.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0189:INFO: Default session profile created.
    4/30/12:2:59:09 AM:11:INFO[,]factory = null
    4/30/12:2:59:09 AM:11:INFO[,]name = TOUPPER
    4/30/12:2:59:09 AM:11:INFO[,]iname = TOUPPER
    4/30/12:2:59:09 AM:11:INFO[,]rsvc == null, create new ArrayList with key= TOUPPER
    4/30/12:2:59:09 AM:11:INFO[,]factory = null
    4/30/12:2:59:09 AM:11:INFO[,]name = ECHO
    4/30/12:2:59:09 AM:11:INFO[,]iname = ECHO
    4/30/12:2:59:09 AM:11:INFO[,]rsvc == null, create new ArrayList with key= ECHO
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint local_1 and RemoteAccessPoint e1tst_tdtux01.

  • How to receive emails i already read from gmail online

    I cant receive the emails I already read from gmail online, maybe because they have been marked as read. Cant mac mail download emails including both read and unread? Thx!

    You can either set Gmail to automatically forward any mail you get to you IP email account so everything gets downloaded when you do a 'get mail'. Or, you can set up POP or IMAP settings within gmail for your IP account, set up a new account in Mail's prefs and tell it to bring in Gmail's messages, so when you do a 'get mail' everything comes down.

  • Best way to send/receive invitations with Outlook users?

    I use iCloud with the Calendar app, but most of my colleagues inside and outside the company use Outlook on Windows.
    I have found that the invitations are tricky between the two systems.  When I send invites the person using Outlook gets a formatted HTML email with an Accept button but they don't know how to get it into their calendars.  Also when I receive invitations, I can accept them but its not sending back by acceptance status to the Outlook user.
    Are there any work arounds for this?
    Thanks

    They would either need to install iCloud on Windows or you could use a Google calendar that is widely used on Windows.
    I'm not sure how Outlook on Windows works with non Microsoft calendars.

  • Sending/Receiving JMS message to WMQ from Automated Task

    Hi All,
    I am new to OSM and working on a POC for the implementation of OSM in our company. We have WebSphere MQ for messaging and want to use same for OSM implementation. We don't want to create bridges, foreign server etc configuration in weblogic, rather just connect with MQ objects over JNDI (as supported) from OSM automated task. Having said that, we have following two scenarios:
    1- JMS message is received at OSM
    2- JMS message initiated from OSM (automated task)
    Now our requirement is to create a sort of JMS inbound gateway for first scenario i.e. reading a message from a Queue and CreateOrder and then reply back to caller using JMSReplyTo header.
    Second as JNDI support is available for automated task, can we send JMS message using direct JNDI look up for MQ JNDI objects i.e. using .bindings file (JNDI URL for MQ objects).
    Thanks

    Hi All,
    I am new to OSM and working on a POC for the implementation of OSM in our company. We have WebSphere MQ for messaging and want to use same for OSM implementation. We don't want to create bridges, foreign server etc configuration in weblogic, rather just connect with MQ objects over JNDI (as supported) from OSM automated task. Having said that, we have following two scenarios:
    1- JMS message is received at OSM
    2- JMS message initiated from OSM (automated task)
    Now our requirement is to create a sort of JMS inbound gateway for first scenario i.e. reading a message from a Queue and CreateOrder and then reply back to caller using JMSReplyTo header.
    Second as JNDI support is available for automated task, can we send JMS message using direct JNDI look up for MQ JNDI objects i.e. using .bindings file (JNDI URL for MQ objects).
    Thanks

  • Does it cost money to send / receive a music / app gift from a friend via the email ?

    I am currently having an issue and want an album my friend has purchased and heard about sending them as gifts, but i am not sure whether it costs either party to receive or send these apps or music albums as it says something about buying when I searched how to send the gift on this website. thanks

    Really????
    it doesnt cost money to send an app from your computer to your phone. coz ur sending it via bluetooth or cable.
    if you're talking about from the internet, most websites just send a link to your phone and you then need to open the link (i.e. browse) to download the app, so that would cost money (i.e. use your internet account)

  • Is there a way to send 4 out of 44 images from Library to Develop? Easily????

    I think my subject line says it all.
    I expect that if I've selected 4 images and then I go to Develop, I will see and be working with those 4 images. Only. Is there a way to do this?
    Kittie

    A virtual copy is just another develop recipe for the same original photo.
    Think of Lightroom as a recipe book.
    When you edit a photo, you are not actually editing the photo, you are
    creating a recipe to use on the photo, for when you decide to 'cook' the
    photo by exporting it.
    Your original photo never gets touched, a recipe is applied and a new
    photo is created when you export it.
    By creating virtual photos, you are just creating new pages of recipes
    for the same original photo, so you can cook it differently later.
    So suppose you have a photo of a couple of people walking down the road.
    You could create a recipe (virtual copy) for the whole photo, and a
    recipe for a Black and white version, and a recipe for a cropped closeup
    of the couple. You are not creating new photos, you are creating new
    develop setting for the same photo.
    The catalog keeps your recipes organized, and you can go back to them
    and 'cook' (export) the photos any time you want, without having to save
    great big multiple copies of the same photo. A recipe is only about 10k
    in size... your raw is more like 10 Meg in size.
    One photo, multiple versions without basically using any more space.

  • Trouble Sending & Receiving Mail Through Exchange Account from Lion Mail

    Mid-2011 MacBook Air, 1.7 GHz Intel Core i5, OS X 10.7.2.
    I'm having trouble sending and recieving mail through my Exchange Server Mail account under Lion 10.7.2 on my MacBook Air.  The MBA is new with a factory install of Lion.  On my MBP the server settings were as follows:
    Internal & External Server:  red001.mail.microsoftonline.com
    When I allow Mail to configure the server settings based on my company eMail ID & Password it sets it up as follows:
    Internal Server:  10.32.16.62
    External Server:  autodiscover-red001.mail.microsoftonline.com
    Part of the time this seems to work ok but frequently Mail cannot seem to connect to the Exchange Server to send/recieve.  The internet connection is fine and I can send/recieve from my iCloud mail account with no problems.
    I recently "upgraded" from mobileMe to iCloud, I do not seem to have any of these issues on my iPad2 or iPhone4, both of which are running iOS5.
    Anyone have any ideas?

    This started happening with me a week ago.   Don't know if it's connected to the latest update or not.  I'm running 10.6.7.  I can get Exchange mail (sometimes) on my iPhone 3GS, but it's stopped on my MBP and iPad2.  Neither can I log onto the company's web mail site from home ("can't reach server" error message). Weird and very frustrating.  IT guy at work says there is nothing wrong at his end.

  • Problem sending/ receiveing SMS on a particular port in an intercarrier n/w

    I am using JSR 120 to send & receive SMS on a particular port. This works perfectly between 2 devices using the same carrier.
    if I try sending & receive inter-carrier SMS, like from T-Mobile device to Cingular device (or vice-versa), my j2me app does not receive any SMS on the port it is listening to.
    When the SMS with a port is sent from my app, I get the prompt for permission to send. On pressing OK, the SMS is sent. On the receiving side, the device on the another carrier network receives the SMS in the default inbox, & not by my app.
    I am not sure if this is a inter-carrier SMSC issue or something to do with my app.
    Pl help.

    Has anyone come across the above mentioned problem? Pl let me know if there is any solution.
    Question simply put : When a j2me sms midlet sends an sms on a unique port to another j2me sms midlet listening on the same port, but served by a different carrier (cellular operator), why does the sms go to device inbox & not to my midlet?
    Thank you

Maybe you are looking for

  • Iphone sdk custom pdf viewer in uiscrollview

    just like in the subject, I am struggling to get pdf view in uiscrollview. now, first of all - I know I can do it with UIWebView. I am doing so now, but next version of my app - I need to gain much more control, hence need for doing it like that. I h

  • Synaptics Clickpad Button Movement

    Alright, quick question. I just bought a new HP computer with a Synaptics Clickpad (V7.4?) and this is the only thing bothering me about this computer so far. I notice that moving my finger anywhere on the mousepad causes the cursor to move, includin

  • Is it possible to shut off multitasking/fast app switching if you want to ?

    For ex, I just looked up an address in motion X drive GPS. I'm in my house right now so I don't need it to constantly "be on" right now ... ?

  • Visualizzare TUTTE le applicazioni su APPLESTORE?!?!

    Buonasera a tutti, ho un MacPro da dicembre, ma solo ieri ho scoperto meglio AplleStore, incredibile per numero di interessanti applicazioni offerte, ma......... ........ma se clicco su una categoria visualizzo solo pochissime applicazioni su tutte q

  • 4500 SFP supervisor ports inactive

    We need to use the SFP ports on the supervisor modules, problem is that they are on inactive rather than nonconnect. Probably an easy one... switch#sh mod Chassis Type : WS-C4510R Power consumed by backplane : 40 Watts Mod Ports Card Type Model ---+-