Copyright © 2001-2019 MultiMedia Soft

Downloader.SessionStop method

Previous pageReturn to chapter overviewNext page

Remarks

 

Stops a download session previously started by a call to one between the Downloader.SessionStartToFile, Downloader.SessionStartToMemory and Downloader.SessionStartToPlayer methods.

 

A successful call to this method will fire the DownloaderSessionStopped event.

 

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

 

 

Syntax

 

[Visual Basic]

control.Downloader.SessionStop (

nDllSessionUniqueId as Long

) as enumErrorCodes


 

[C++]

short control.Downloader.SessionStop (

long nDllSessionUniqueId

);


 

 

Parameter

Description

 

 

nDllSessionUniqueId

The unique identifier of the download session generated by a previous call to one between the Downloader.SessionStartToFile, Downloader.SessionStartToMemory and Downloader.SessionStartToPlayer.methods.

 

 

Return value

 

Value

Meaning

 

 

enumErrorCodes.NOERROR (0)

The method call was successful.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.