Properties modify the behaviour of the BasicCard Class Library. Properties can be specified by use of basiccard.properties file. E.g. properties specify which card readers are used.

Namespace: BasicCard
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
[CLSCompliantAttribute(true)]
public class Properties : Properties
Visual Basic
<CLSCompliantAttribute(true)>
Public Class Properties
	Inherits Properties
Visual C++
[CLSCompliantAttribute(true)]
public ref class Properties : public Properties
F#
[<CLSCompliantAttribute(true)>]
type Properties =  
    class
        inherit Properties
    end

Remarks

Properties are automatically loaded from basiccard.properties file. The file will be searched (in this order) in:

  • AssemblyDir - The directory where this assembly is located.
  • CommonApplicationData - The directory that serves as a common repository for application-specific data that is used by all users. In case of a Unix based OS /etc/ is used.
  • ApplicationData - The directory that serves as a common repository for application-specific data for the current roaming user. In case of a Unix based OS /home/$user/.config/ is used.

For Compact Framework only the AssemblyDir is used.

Property values containing multiple values should be separated by use of ';'.

The basiccard.properties file must be XML encoded. See example basiccard.properties file included within BasicCard .Net SDK for more details.

Inheritance Hierarchy

System..::..Object
  System.Collections..::..Hashtable
    Properties
      BasicCard..::..Properties

Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.

See Also