Skip to main content

1E SDK

FileContent.GetTorrentDescribedFiles (deprecated)

Method

GetTorrentDescribedFiles (deprecated; will no longer be available after v8.1)

Module

FileContent

Library

FileContent

Action

Returns all files described within the info and files structures contained inside a torrent file.

Parameters

FilePath (string; required): The full path of the torrent file.

Return values

DescribedFileName (string): The filename of a file described within the torrent file.

DescribedFileSizeBytes (int): The size in bytes of a file described within the torrent file.

Example

Get the files described in a torrent called myTorrent.torrent.

FileContent.GetTorrentDescribedFiles(FilePath:"C:\\torrents\\myTorrent.torrent");

Platforms

  • Windows

  • Linux

  • MacOS

Notes