Instantiates and initializes a card terminal from a given card terminal configuration.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Function CreateCardTerminal( _ 
ByVal aConfig As CardTerminalConfig
) As ICardTerminal
This language is not supported or no code example is available.
public ICardTerminal CreateCardTerminal( 
CardTerminalConfig aConfig 
)
This language is not supported or no code example is available.
public:  
ICardTerminal^ CreateCardTerminal( 
CardTerminalConfig^ aConfig 
)
This language is not supported or no code example is available.
public function CreateCardTerminal( 
aConfig : CardTerminalConfig 
) : ICardTerminal;
This language is not supported or no code example is available.

Parameters

aConfig
Type: CardTerminalConfig

The card terminal configuration that defines and configures the ICardTerminal implementation to be created.

Return Value

Type: ICardTerminal

The successfully instantiated and initialized card terminal is returned. If the provided card terminal configuration is disabled or an error occurs, then null is returned.

If the configured card terminal failed and null is returned, then the ErrorInfo property contains a descriptive string about the nature of the error. If it succeeded, then the ErrorInfo property is set to null.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0