Dim make AsStringDim model AsStringUsing exReader AsNew ExifReader(fileName)
exReader.GetTagValue(OfString)(ExifTags.Make, make)
exReader.GetTagValue(OfString)(ExifTags.Model, model)
EndUsinglblMake.Text = make
lblModel.Text = model
Recreate Issue
Using the code above that works within Visual Studio does not work in a website without referencing the DLL file within your project.
Resolve Issue
Dated: June 24, 2026 The Microsoft Blog post no longer exist. Link kept here for Historical Purposes.
This is taken from the blogs over at Microsoft. Thanks to their Blog Member. https://blogs.msdn.microsoft.com/tolong/author/tolong/ for this information.
Using the Visual Basic Developer Command Prompt.
Click on your [Start] Menu.
Choose [Programs]
Scroll down to the [Visual Studio 2015] (your Version number here)
Choose [Developer Command Prompt for VS2015] (your Version number here)
C:\Windows\system32>
::type incd G:\ (Replacing the G with the drive you have your DLL files on)
G:\>
::Type in cd Packages (To in the rest of the location here, and hit Enter)G:\Packages>
::NEXTG:\Packages>gacutil -iExifLib.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.
The Global Assembly Cache contains the following assemblies:
ExifLib, =1.7.0.0, =neutral, =30284005913968db, =MSIL
Number of = 1
The above string you will need. ExifLib, Version=1.7.0.0, Culture=neutral, PublicKeyToken=30284005913968db, processorArchitecture=MSIL
Copy
Search Site
Search Google
Now, with the above done, you will need to add that information into your web.config