Skip to content

Commit de23b8e

Browse files
authored
Update README.md
1 parent edb1bfc commit de23b8e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
netstandard library for detecting file types by 'magic numbers', similar to the `file` command in Linux/Unix. Useful for validating file uploads instead of trusting file extensions.
44

5+
[![NuGet](https://img.shields.io/nuget/v/FileTypeInterrogator.svg?style=flat-square&label=nuget)](https://www.nuget.org/packages/FileTypeInterrogator/)
6+
57
# Usage
68

79
```
@@ -29,4 +31,4 @@ IFileTypeInterrogator interrogator = new CustomFileTypeInterrogator("path_to_cus
2931
FileTypeInfo fileTypeInfo = interrogator.DetectType(...);
3032
```
3133

32-
It is best to create a single instance and manage it's lifetime through an IOC/DI Container.
34+
It is best to create a single instance and manage it's lifetime through an IOC/DI Container.

0 commit comments

Comments
 (0)