Whenever an error occurs an exception of this class is thrown.

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

Public NotInheritable Class SmartCardApiException 
Inherits ApplicationException
This language is not supported or no code example is available.
public sealed class SmartCardApiException : ApplicationException
This language is not supported or no code example is available.
public ref class SmartCardApiException sealed : public ApplicationException^
This language is not supported or no code example is available.
public final class SmartCardApiException 
extends ApplicationException
This language is not supported or no code example is available.
Name Description
Public property Code Access the SmartCardApi exception code that further distinguishes the cause of this exception.
Top
A CardTerminalException may provide an InnerException that references the low level exception thrown from the internals of an implementation of the ICardTerminal interface. Currently there are only two implementations of the ICardTerminal interface propagating either a SCardException or a CtApiException.

.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