• API Overview
  • EBICS API
  • FinTS API
  • XS2A API
  • SEPA API
Search Results for

    Class FinScript

    Base class for asynchronous execution of Online Banking activities.

    Inheritance
    System.Object
    FinScript
    FinScriptChangePin
    FinScriptInitBankKeys
    FinScriptInitUserKeys
    FinScriptKeyChange
    FinScriptProfileChange
    FinScriptRevokePinBlock
    FinScriptSendOrder
    FinScriptSyncContact
    FinScriptTanGeneratorSync
    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.Forms
    Assembly: Subsembly.FinTS.Win32.dll
    Syntax
    public abstract class FinScript
    Remarks

    In the context of the Subsembly.FinTS.Online namespace, all Online Banking activities are implemented as scripts deriving from the FinScript base class. The FinScript base class provides the mechanism for starting an Online Banking activity on a backgroud thread and maintaining the FinDocketForm window implementation for user feedback on the foreground UI thread.

    In order to implement a particular Online Banking activity, a script class must be derived from FinScript which overrides the OnRunScript(FinBanking) member function. Within the overridden OnRunScript(FinBanking) member function the FinBanking class is usually called in order to conduct the Online Banking activity. All user feedback and interaction must be done through the attached FinDocketForm instance.

    Properties

    AutoCloseDocket

    If set the docket will be closed automatically and without user interaction at the end of the script.

    Declaration
    public static bool AutoCloseDocket { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    This property must be set before the script is actually started. Setting this property influences only subsequent script runs.

    Result

    The final result when this script was executed.

    Declaration
    public FinDialogResult Result { get; }
    Property Value
    Type Description
    FinDialogResult

    Trace

    Returns a copy of the tracing collected so far. This is null if no tracing output is available.

    Declaration
    public string Trace { get; }
    Property Value
    Type Description
    System.String
    Remarks

    The Trace holds all details of the HBCI/FinTS dialog.

    Methods

    ClearTrace()

    Erases all the current and captured trace content.

    Declaration
    public void ClearTrace()

    OnRunScript(FinBanking)

    Must be overridden by a derived class in order to implement the actual Online Banking activity.

    Declaration
    protected abstract FinDialogResult OnRunScript(FinBanking aBanking)
    Parameters
    Type Name Description
    FinBanking aBanking
    Returns
    Type Description
    FinDialogResult

    A final FinDialogResult. Must not be null.

    StartScript(IWin32Window, String, FinContact)

    Asynchronously starts the derived Online Banking script.

    Declaration
    public void StartScript(IWin32Window aParentWindow, string sDocketHeading, FinContact aContact)
    Parameters
    Type Name Description
    System.Windows.Forms.IWin32Window aParentWindow

    Optional window handle to parent window that starts this script. If given, then this window will be disabled for the duration of the script execution.

    System.String sDocketHeading

    Heading to be displayed above the list view in the Docket while this Online Banking script executes.

    FinContact aContact

    Mandatory FinContact instance that will be used to create a new FinBanking instance.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The parameter sDocketHeading or aContact was null.

    In This Article
    Back to top Copyright 2009-2025 Subsembly GmbH