How do I know the plugin format of the binary?

I can not see how to find out the format of the binary.

Where? If it’s in the shared code, well, it’s shared, so by definition, it’s common to all plugins and won’t be recompiled.

Please specify, what you try…
is this during runtime? for that purpose there is a public variable:
which gives you an enum: