how to access sim card by built-in sim card slot on surface pro 9 5g, and then we need to send apdus

frank yu 0 Reputation points
2023-08-28T01:57:49.49+00:00

such as the title, we want to access sim card by built-in sim card, is it supportted on surface pro 9 5g?

Windows 10 Hardware Performance
Windows 10 Hardware Performance
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
117 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vahid Ghafarpour 21,725 Reputation points
    2023-08-28T03:35:34.7133333+00:00

    You can use the Windows.Devices.SmartCards namespace to send APDU commands to a smart card.

    using Windows.Devices.SmartCards;
    using System.Threading.Tasks;
    
    public async Task<string> SendApduAsync(SmartCardReader reader, byte[] commandApdu)
    {
        using (SmartCardConnection connection = await reader.ConnectAsync())
        {
            var responseApdu = await connection.TransmitAsync(commandApdu);
            return BitConverter.ToString(responseApdu.ToArray());
        }
    }
    
    

  2. Degrande04 0 Reputation points
    2024-05-20T12:20:32.44+00:00

    To access the SIM card on a Surface Pro 9 5G, begin by locating the built-in SIM card slot, typically found on the side of the device. Carefully insert a SIM ejector tool or a small paperclip into the small hole next to the slot to release the SIM card tray. Pull out the tray and place the SIM card into it, ensuring the card's orientation matches the tray's layout. Gently push the tray back into the slot until it clicks into place. Once the SIM card is properly installed, you can send APDUs (Application Protocol Data Units) using software that supports SIM card communication, such as specific development tools or libraries designed for APDU transmission. These tools allow you to interact with the SIM card by sending command sequences and receiving responses, which is essential for various mobile network operations and custom applications.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.