Skip to main content

1E SDK

FileContent.GetTorrentInfo (deprecated)

Method

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

Module

FileContent

Library

FileContent

Action

Returns information contained inside a torrent file.

Parameters

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

Return values

Comment (string): The comment field contained in the torrent, if it exists.

CreatedBy(string): Typically describes the software used to create the torrent, if it exists.

CreationDate(string): The creation date of the torrent. This is not the creation date on disk.

NumberOfSignatures(int): The number of signatures contained within the signatures structure inside the torrent.

Example

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

FileContent.GetTorrentInfo(FilePath:"c:\\torrents\\myTorrent.torrent");

Platforms

  • Windows

  • Linux

  • MacOS

Notes