I have a software diagnostic page on which I would like to list the File Version information of a couple of COM DLLs. The page is running under the normal, restricted ASP.Net account (NETWORK SERVICE).
Given the ProgIDs of a COM library, what's the best way to go about getting the physical file path or otherwise accessing the file version #?
Note that loading it via Type.GetTypeFromProgID and using the type's Assembly object won't work, as the Assembly object returned is the one for mscorlib.
The install path can be selected by the user and is not guaranteed to be a specific value.