src/MonoTorrent.Client/MonoTorrent/Torrent.cs
/// <summary>
/// This method loads a .torrent file from the specified path.
/// </summary>
/// <param name="path">The path to load the .torrent file from</param>
This method loads a .torrent file from the specified path.
This method loads a . torrent file from the specified path .
public static Torrent Load (string path)
        {
            Check.Path (path);
            using Stream s = new FileStream (path, FileMode.Open, FileAccess.Read, FileShare.Read);
            return Load (s, path);
        }
public static Torrent Load ( string path ) { Check . Path ( path ) ; using Stream s = new FileStream ( path , FileMode . Open , FileAccess . Read , FileShare . Read ) ; return Load ( s , path ) ; }
This method loads a .torrent file from the specified path.
This method loads a . torrent file from the specified path .
path
string
The path to load the .torrent file from
The path to load the . torrent file from