C# Class FilesMatchFinder.Torrent

Show file Open project: parshikov/FileMatchFinder Class Usage Examples

Public Properties

Property Type Description
FileName string
Files List
Hash char[]
Name string
PieceLength int

Public Methods

Method Description
CheckHash ( int index, FileInfo fileOnDisk, bool checkFirstOnly ) : bool
Torrent ( string name, List files, int pieceLength, char hash, string fileName ) : System

Method Details

CheckHash() public method

public CheckHash ( int index, FileInfo fileOnDisk, bool checkFirstOnly ) : bool
index int
fileOnDisk System.IO.FileInfo
checkFirstOnly bool
return bool

Torrent() public method

public Torrent ( string name, List files, int pieceLength, char hash, string fileName ) : System
name string
files List
pieceLength int
hash char
fileName string
return System

Property Details

FileName public property

public string FileName
return string

Files public property

public List Files
return List

Hash public property

public char[] Hash
return char[]

Name public property

public string Name
return string

PieceLength public property

public int PieceLength
return int