| HubCreateAppExAsync Method (String, String, String, String, String, AsyncHandle) | 
Creates an app and opens a session.
This method applies only if running a local installation of Qlik Sense.
 
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic Task<CreateAppExResult> CreateAppExAsync(
	string docName,
	string userName = null,
	string password = null,
	string serial = null,
	string localizedScriptMainSection = null,
	AsyncHandle asyncHandle = null
)
Public Function CreateAppExAsync ( 
	docName As String,
	Optional userName As String = Nothing,
	Optional password As String = Nothing,
	Optional serial As String = Nothing,
	Optional localizedScriptMainSection As String = Nothing,
	Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of CreateAppExResult)
Parameters
- docName
 - Type: SystemString
Name of the app
                                        This parameter is mandatory. - userName (Optional)
 - Type: SystemString
Name of the user
                                        This parameter is optional. - password (Optional)
 - Type: SystemString
Password of the user
                                        This parameter is optional. - serial (Optional)
 - Type: SystemString
Current Qlik Sense serial number
                                        This parameter is optional. - localizedScriptMainSection (Optional)
 - Type: SystemString
Name of the first section in the script editor.
                                        This parameter is optional. 
                                        The default value is Main. - asyncHandle (Optional)
 - Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request 
Return Value
Type: 
TaskCreateAppExResultImplements
IHubCreateAppExAsync(String, String, String, String, String, AsyncHandle)
See Also