Class FinCredentialForm

Namespace
Subsembly.FinTS.Forms
Assembly
Subsembly.FinTS.Win32.dll

Genric utility Form that can be used to query the user for security credentials such as PIN and TAN.

public class FinCredentialForm : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IFinCredentialForm
Inheritance
FinCredentialForm
Implements
Inherited Members

Remarks

This Form implements the abstract IFinCredentialForm interface.

Constructors

FinCredentialForm(string, IWin32Window)

public FinCredentialForm(string sCaption, IWin32Window aOwnerWindow = null)

Parameters

sCaption string

Text for the Window caption.

aOwnerWindow IWin32Window

Optional owner Window of this form. If this is null, then the Window won't have an explicit owner.

FinCredentialForm(IWin32Window)

public FinCredentialForm(IWin32Window aOwnerWindow = null)

Parameters

aOwnerWindow IWin32Window

Optional owner Window of this form. If this is null, then the Window won't have an explicit owner.

Methods

Delegate_HidePromptAuthenticateSecure()

public void Delegate_HidePromptAuthenticateSecure()

Delegate_ShowPromptAuthenticateSecure()

public void Delegate_ShowPromptAuthenticateSecure()

GetCredential(FinContact, FinCredential)

Show dialog box.

public bool GetCredential(FinContact aContact, FinCredential aCredential)

Parameters

aContact FinContact

Provides the FinContact instance for which to collect the security credentials.

aCredential FinCredential

Provides all the information needed in order to create a suitable dialog box. When the user acknowledges this box, then this also returns the actual PIN or TAN.

Returns

bool

Returns DialogResult.Cancel if aborted by the user and DialogResult.OK if acknowledged.

HidePromptAuthenticateSecure(FinContact, FinAuthenticateResult)

public void HidePromptAuthenticateSecure(FinContact aContact, FinAuthenticateResult nResult)

Parameters

aContact FinContact
nResult FinAuthenticateResult

OnClosed(EventArgs)

protected override void OnClosed(EventArgs e)

Parameters

e EventArgs

OnLoad(EventArgs)

protected override void OnLoad(EventArgs e)

Parameters

e EventArgs

ShowPromptAuthenticateSecure(FinContact, string)

public void ShowPromptAuthenticateSecure(FinContact aContact, string sPrompt)

Parameters

aContact FinContact
sPrompt string