Skip to content

Commit be5a14b

Browse files
authored
Merge pull request #22 from interlab/patch-1
Update README.md
2 parents 8e6f190 + b4e4887 commit be5a14b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ Working with torrent files:
3030
```C#
3131
// Parse torrent by specifying the file path
3232
var parser = new BencodeParser(); // Default encoding is Encoding.UT8F, but you can specify another if you need to
33-
var torrent = parse.Parse<Torrent>("C:\ubuntu.torrent");
33+
var torrent = parser.Parse<Torrent>("C:\ubuntu.torrent");
3434

3535
// Alternatively, handle the stream yourself
3636
using (var stream = File.OpenRead("C:\ubuntu.torrent"))
3737
{
38-
torrent = parse.Parse<Torrent>(stream);
38+
torrent = parser.Parse<Torrent>(stream);
3939
}
4040

4141
// Calculate the info hash

0 commit comments

Comments
 (0)