Read version from a .vst3 file

I’m working on a standalone juce app in which at one point, I have to get the version of a .vst3 file on my computer.
I’ve searched a bit, and I saw that it was possible for the .dll format, and I was wondering if there was a general way to do that for the vst3 format, or if it wasn’t possible.
The plugin I’m trying to read the version of is made with JUCE, and I’m using windows.
Thanks in advance !

Check out VST3PluginFormat. Keep in mind .vst3s are directories, not files, and an individual .vst3 bundle is allowed to have multiple plugins.

Specifically, VST3PluginFormat::findAllTypesForFile will give you an array of PluginDescriptions that describe the plugin(s) in the file. Each PluginDescription has a ‘version’ field that you can query.