Class FinCredentialForm
Genric utility Form that can be used to query the user for security credentials such as PIN and TAN.
Inheritance
FinCredentialForm
Implements
Inherited Members
Namespace: Subsembly.FinTS.Forms
Assembly: Subsembly.FinTS.Win32.dll
Syntax
public class FinCredentialForm : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IFinCredentialForm
Remarks
This Form implements the abstract IFinCredentialForm interface.
Constructors
FinCredentialForm(string, IWin32Window)
Declaration
public FinCredentialForm(string sCaption, IWin32Window aOwnerWindow = null)
Parameters
Type | Name | Description |
---|---|---|
string | sCaption | Text for the Window caption. |
IWin32Window | aOwnerWindow | Optional owner Window of this form. If this is |
FinCredentialForm(IWin32Window)
Declaration
public FinCredentialForm(IWin32Window aOwnerWindow = null)
Parameters
Type | Name | Description |
---|---|---|
IWin32Window | aOwnerWindow | Optional owner Window of this form. If this is |
Methods
Delegate_HidePromptAuthenticateSecure()
Declaration
public void Delegate_HidePromptAuthenticateSecure()
Delegate_ShowPromptAuthenticateSecure()
Declaration
public void Delegate_ShowPromptAuthenticateSecure()
GetCredential(FinContact, FinCredential)
Show dialog box.
Declaration
public bool GetCredential(FinContact aContact, FinCredential aCredential)
Parameters
Type | Name | Description |
---|---|---|
FinContact | aContact | Provides the FinContact instance for which to collect the security credentials. |
FinCredential | aCredential | 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
Type | Description |
---|---|
bool | Returns DialogResult.Cancel if aborted by the user and DialogResult.OK if acknowledged. |
HidePromptAuthenticateSecure(FinContact, FinAuthenticateResult)
Declaration
public void HidePromptAuthenticateSecure(FinContact aContact, FinAuthenticateResult nResult)
Parameters
Type | Name | Description |
---|---|---|
FinContact | aContact | |
FinAuthenticateResult | nResult |
OnClosed(EventArgs)
Declaration
protected override void OnClosed(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
Overrides
OnLoad(EventArgs)
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
Overrides
ShowPromptAuthenticateSecure(FinContact, string)
Declaration
public void ShowPromptAuthenticateSecure(FinContact aContact, string sPrompt)
Parameters
Type | Name | Description |
---|---|---|
FinContact | aContact | |
string | sPrompt |