Class FinSecurityMediaSmartCardFactory
Static factory class for detecting HBCI/FinTS smart card applications and their corresponding IFinSecurityMedia implementations.
Inheritance
System.Object
FinSecurityMediaSmartCardFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.SmartCard.dll
Syntax
public static class FinSecurityMediaSmartCardFactory
Remarks
By default all internal smart card implementations are registered and detectable at startup.
Methods
DetectSmartCardApps()
Declaration
public static FinSecurityMediaDetectedSmartCardApp[] DetectSmartCardApps()
Returns
Type | Description |
---|---|
FinSecurityMediaDetectedSmartCardApp[] |
DetectSmartCardReaders()
Convenience helper that detects the installed smart card readers.
Declaration
public static string[] DetectSmartCardReaders()
Returns
Type | Description |
---|---|
System.String[] | If the PC/SC subsystem is not present on this system, then |
RegisterSmartCardApp(FinSecurityMediaSmartCardApp)
Registers the details of a smart card application. Once registered, a smart card application may be detected by this class.
Declaration
public static void RegisterSmartCardApp(FinSecurityMediaSmartCardApp aApp)
Parameters
Type | Name | Description |
---|---|---|
FinSecurityMediaSmartCardApp | aApp |
SelectSmartCard(FinSecurityMediaSmartCardApp, String, out String)
Declaration
public static IFinSecurityMedia SelectSmartCard(FinSecurityMediaSmartCardApp aApp, string sReaderName, out string sSecMediaID)
Parameters
Type | Name | Description |
---|---|---|
FinSecurityMediaSmartCardApp | aApp | |
System.String | sReaderName | |
System.String | sSecMediaID |
Returns
Type | Description |
---|---|
IFinSecurityMedia |