LEADTOOLS Workflow (Leadtools.Workflow.Raster assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
GetCredentials Event
See Also 
Leadtools.Workflow.Raster Namespace > SaveImageActivity Class : GetCredentials Event



The GetCredentials Event is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets called just before the file is saved to enable the client to set the appropriate network credentials.

Syntax

Visual Basic (Declaration) 
Public Event GetCredentials As EventHandler(Of GetCredentialsEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As SaveImageActivity
Dim handler As EventHandler(Of GetCredentialsEventArgs)
 
AddHandler instance.GetCredentials, handler
C# 
public event EventHandler<GetCredentialsEventArgs> GetCredentials
C++/CLI 
public:
event EventHandler<GetCredentialsEventArgs^>^ GetCredentials

Event Data

The event handler receives an argument of type GetCredentialsEventArgs containing data related to this event. The following GetCredentialsEventArgs properties provide information specific to this event.

PropertyDescription
Credentials Gets or sets the ICredentials object to use for file access. This member has to be set to a new instance of an ICredentials object.

Remarks

The callback receives an object that contains the ICredentials object to set.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Workflow.Raster requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features