Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,763 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i run this program code,but i got error message "Failed to establish context: The Smart Card Resource Manager is not running. (0x8010001D)", and i have already run scardSvr
service
can microsoft help for this problem please?
from smartcard.Exceptions import NoCardException
from smartcard.System import readers
from smartcard.util import toHexString
import sys
for reader in readers():
try:
connection = reader.createConnection()
connection.connect()
print(reader, toHexString(connection.getATR()))
except NoCardException:
print(reader, 'no card inserted')
if 'win32' == sys.platform:
print('press Enter to continue')
sys.stdin.read(1)