decouple dll registration from SmartCardAdapter