Copyright © 2005-2019 MultiMedia Soft

Downloader.Create method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates and initializes the downloader.

 

For details about management of download sessions from HTTP and FTP servers, refer to the How to manage download sessions tutorial.

 

 

Syntax

 

[Visual Basic]

Public Sub Create (

nTimeoutConnectionInMs as Int32,

nTimeoutDataInMs as Int32

)


 

[C#]

public void Create (

Int32 nTimeoutConnectionInMs,

Int32 nTimeoutDataInMs

);


 

[C++]

public: void Create(

Int32 nTimeoutConnectionInMs,

Int32 nTimeoutDataInMs

);


 

 

Parameter

Description

 

 

nTimeoutConnectionInMs

Number representing the connection timeout expressed in milliseconds.

By default this timeout is set to 10000 (10 seconds). Set this parameter to -1 for keeping the current default value.

nTimeoutDataInMs

Number representing the data timeout expressed in milliseconds.

By default this timeout is set to 0 (no timeout).  Set this parameter to -1 for keeping the current default value.

 

 

 

Return value

 

None