The AbstractCardService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | AbstractCardService |
Constructs an AbstractCardService object.
|
Methods
Name | Description | |
---|---|---|
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() | Dispose |
Release assigned resources like card reader and connection.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor calling Dispose()()()().
(Overrides Object..::..Finalize()()()().) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Init |
Assign connection to use and initialize. See
ICardService.Init.
|
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | Lock |
Claims exclusive access to chip card. If connection is already exclusive
nothing is done, otherwise the connection lock function is called.
|
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() | OnCardEvent |
Overwrite this function to be informed about card events.
Default implementation calls OnCardRemoved()()()()
for card removed events.
|
![]() | OnCardRemoved |
Overwrite this function to be informed when card is removed. Default
implementation changes IsCardAvailable property to false.
This function is called once only.
|
![]() | SetCardSelector |
Change the card selector.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Unlock |
Releases exclusive access to chip card. If connection was not
locked nothing is done, otherwise the connection unlock function is called.
|
Fields
Name | Description | |
---|---|---|
![]() | atr |
ATR of card.
|
![]() | connection |
Connection to card used.
|
![]() | doesNeedExclusiveConnection |
Set to false if shared connection should be used, or to true
if exclusive connection is required. Default is true.
|
![]() | selector |
Card selector used.
|
Properties
Name | Description | |
---|---|---|
![]() | CardSelector |
Card selector, see
ICardService.CardSelector |
![]() | IsCardAvailable |
True if card is still available, false if card was removed.
|
![]() | IsExclusive |
True if service uses an exclusive (not shared or locked)
connection. See
ICardService.IsExclusive.
|
![]() | NeedExclusiveConnection |
True if an exclusive connection is required. See
ICardService.NeedExclusiveConnection.
|
![]() | Observer |
Observer monitoring this service
|