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

    Class FinBanksFile

    FinBanksFile is a data structure that contains bank info data. It can load FinBanks.dat files.

    Inheritance
    System.Object
    FinBanksFile
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Subsembly.FinTS.Banks
    Assembly: Subsembly.FinTS.Core.dll
    Syntax
    public sealed class FinBanksFile

    Methods

    FindBank(String)

    Returns the date appropriate bank information record for the requested bank. The algorithm in this method used the current date to decide which record is date appropriate (= valid record for the present).

    Declaration
    public FinBanksInfo FindBank(string sBankCode)
    Parameters
    Type Name Description
    System.String sBankCode

    The german bank code (Bankleitzahl) that uniquely identifies the requested bank. If this is null, an empty string or otherwise invalid, then the search will fail and null is returned.

    Returns
    Type Description
    FinBanksInfo

    If the requested bank is found, then its information record is returned. If no such bank is known, then null is returned.

    FindServer(String)

    Returns the server information record for the requested bank.

    Declaration
    public FinBanksServer FindServer(string sBankCode)
    Parameters
    Type Name Description
    System.String sBankCode

    The german bank code (Bankleitzahl) that uniquely identifies the requested bank. If this is null, an empty string or otherwise invalid, then the search will fail and null is returned.

    Returns
    Type Description
    FinBanksServer

    If the requested bank is found, then its HBCI server record is returned. If the bank does not support HBCI, or no such bank is known at all, then null is returned.

    Load(String)

    Loads compressed FinBanks.dat file.

    Declaration
    public void Load(string sFilename)
    Parameters
    Type Name Description
    System.String sFilename

    The file name and complete path of the "FinBanks.dat" file to be loaded. A FinBanks.dat file can be created with the FinBanks tool, or by te FinBanksFileBuilder.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The parameter sFilename was null.

    System.ArgumentException

    The parameter sFilename was an empty string.

    System.ApplicationException

    The file is not a FinBanks.dat file or is corrupted.

    Read(Stream)

    Reads compressed FinBanks.dat file from the given stream.

    Declaration
    public void Read(Stream aStream)
    Parameters
    Type Name Description
    System.IO.Stream aStream
    Exceptions
    Type Condition
    System.ArgumentNullException

    The parameter was null.

    System.ApplicationException

    The file is not a FinBanks.dat file or is corrupted.

    SearchBanks(SepaBIC)

    Declaration
    public FinBanksInfo[] SearchBanks(SepaBIC tBIC)
    Parameters
    Type Name Description
    SepaBIC tBIC
    Returns
    Type Description
    FinBanksInfo[]

    SearchBanks(String, Int32)

    Declaration
    public FinBanksInfo[] SearchBanks(string sSearchText, int nMaxResults)
    Parameters
    Type Name Description
    System.String sSearchText

    Text to search for. If this is null or empty, then null will be returned.

    System.Int32 nMaxResults

    The maximum number of results to return. If this is zero, then all results will be returned.

    Returns
    Type Description
    FinBanksInfo[]
    Exceptions
    Type Condition
    System.ArgumentException

    The parameter nMaxResults was a negative value.

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