Copyright © 2005-2023 MultiMedia Soft

Downloader.SessionPathnameGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

After starting a download session through the Downloader.SessionStartToFile method, allows to obtain the local pathname where the downloaded file is stored.

 

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 Function SessionPathnameGet (

nDllSessionUniqueId as Int32

) as String


 

[C#]

public string SessionPathnameGet (

Int32 nDllSessionUniqueId

);


 

[C++]

public: string SessionPathnameGet (

Int32 nDllSessionUniqueId

);


 

 

Parameter

Description

 

 

nDllSessionUniqueId

The unique identifier of the download session generated by a previous call to the Downloader.SessionStartToFile method.

 

Return value

 

Value

Meaning

 

 

Empty string

An error occurred or information not available, check the LastError property value in order to get the error code

Valid string

The local pathname where the downloaded file is stored