繁体   English   中英

智能卡运行但异常

[英]Smart Card Running But Getting An Exception

我正在使用 .NET C# 制作 windows 服务。此服务使用需要运行智能卡服务的 class。 我执行了此服务,但在运行我的应用程序时出现以下信息: Smart card Service is not running or was shutdown. Start the Smart card service in Windows. Error code: 2148532253' Smart card Service is not running or was shutdown. Start the Smart card service in Windows. Error code: 2148532253'

可能是什么问题? 谢谢。

这是抛出异常的地方:

PACMAN pacman = new PACMAN(); // this is the object that will be used to read data from the card

在此处输入图像描述

好的,问题是因为我的笔记本电脑上没有连接读卡器。 奇怪的是,异常是如此普遍,根本没有帮助!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM