Tag: 读卡器

C# – 使用PCSC-Sharp在智能卡中写入

大家好日子,我想问一下如何用智能卡写字。 我只是依赖于文档中给出的示例,但它只有读取标记。 我按照https://github.com/danm-de/pcsc-sharp/blob/master/Examples/Transmit/Program.cs中的示例进行操作 using System; using PCSC; using PCSC.Iso7816; namespace Transmit { public class Program { public static void Main() { using (var context = new SCardContext()) { context.Establish(SCardScope.System); var readerNames = context.GetReaders(); if (readerNames == null || readerNames.Length < 1) { Console.WriteLine("You need at least one reader in order to run this example."); Console.ReadKey(); […]