Skip to content

API request: port System.Diagnostics.FileVersionInfo to WinRT #3070

@jaigak

Description

@jaigak

Related to #1083.

To retrieve version info of an executable or DLL, you need to use Win32 API functions defined in WinVer.h. These aren't particularly convenient to use directly, so .NET has provided System.Diagnostics.FileVersion. It's fine for the most part but has some drawbacks: marshals all strings, which is wasteful if you only need to access a few properties. It also doesn't give you access to localised strings that are not in the language it determines as preferred (shouldn't be needed in most cases but still useful to have access to).

Consider making a WinRT wrapper that's also accessible to C++ and other languages.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions