Class FileVersionInfoExtensions
- Namespace
- Cuemon.Extensions.Diagnostics
- Assembly
- Cuemon.Extensions.Diagnostics.dll
Extension methods for the FileVersionInfo class.
public static class FileVersionInfoExtensions
- Inheritance
-
FileVersionInfoExtensions
Methods
ToFileVersion(FileVersionInfo)
Returns a VersionResult from the specified fvi
.
public static VersionResult ToFileVersion(this FileVersionInfo fvi)
Parameters
fvi
FileVersionInfoAn instance of FileVersionInfo.
Returns
- VersionResult
A VersionResult that represents the file version that the FileVersionInfo is distributed with.
ToProductVersion(FileVersionInfo)
Returns a VersionResult from the specified fvi
.
public static VersionResult ToProductVersion(this FileVersionInfo fvi)
Parameters
fvi
FileVersionInfoAn instance of FileVersionInfo.
Returns
- VersionResult
A VersionResult that represents the product version that the FileVersionInfo is distributed with.