On Windows, the SCardSvr service is only on if there is a reader connected. If none is present, the service just shuts down. This fix makes the process keep refreshing the card context until it gets a valid handle, eg. until some reader is connected.
On Windows, the SCardSvr service is only on if there is a reader connected. If none is present, the service just shuts down. This fix makes the process keep refreshing the card context until it gets a valid handle, eg. until some reader is connected.