Platforms to show: All Mac Windows Linux Cross-Platform
SmartCardMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SmartCard | MBS Tools Plugin | 16.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- property ActiveProtocol as Integer
- property Handle as Integer
- property Lasterror as Integer
- 13 methods
- method BeginTransaction
- method CancelTransaction
- method Constructor Private
- method Control(ControlCode as Integer, input as ptr, inputLength as UInt32, output as ptr, byref outputLength as UInt32)
- method Disconnect(Disposition as Integer = 0)
- method EndTransaction(Disposition as Integer = 0)
- method GetAttrib(AttrId as UInt32) as Memoryblock
- method ReadFile(FileID as MemoryBlock) as MemoryBlock
- method Reconnect(ShareMode as UInt32, PreferredProtocols as UInt32, Initialization as UInt32)
- method SetAttrib(AttrId as UInt32, mem as Memoryblock)
- method Status(byref Reader as string, byref State as Integer, byref Protocol as Integer, byref CardID as string)
- method Status(byref State as Integer, byref Protocol as Integer, byref CardID as string)
- method Transmit(ioSendPci as Ptr, SendBuffer as ptr, SendLength as UInt32, ioRecvPci as ptr, RecvBuffer as Ptr, byref RecvLength as UInt32)
- shared method SplitValues(Data as MemoryBlock) as Dictionary
- 64 constants
This class has no sub classes.
Some methods using this class:
- SmartCardContextMBS.Connect(reader as string, ShareMode as UInt32, PreferredProtocols as UInt32) as SmartCardMBS
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 20.2pr2
- MBS Xojo Plugins, version 19.6pr2
- MBS Xojo Plugins, version 19.6pr1
- MBS Xojo Plugins, version 19.5pr6
- MonkeyBread Software Releases the MBS Xojo Plugins in version 18.5
- MBS Xojo Plugins, version 18.5pr3
- New functions for smart card reading
Release notes
- Version 20.2
- Fixed problem in ReadFile with MacOS Catalina in SmartCardMBS class.
- Version 20.0
- Changed SmartCardMBS.SplitValues method to mark valid UTF-8 strings to have UTF-8 encoding.
- Improved code for ReadFile in SmartCardMBS to read in chunks of 256 bytes instead of 255 bytes.
- Version 19.5
- Fixed bug in ReadFile function in SmartCardMBS class.
- Version 18.5
- Added ReadFile method to SmartCardMBS class to read data from various smartcards (e.g. Swiss Health Insurance Card or Belgian Identity Card).
The items on this page are in the following plugins: MBS Tools Plugin.
SmartCardContextMBS - SoftDeclareMBS