Table of Contents

Class FileVersionInfoExtensions

Namespace
Cuemon.Extensions.Diagnostics
Assembly
Cuemon.Extensions.Diagnostics.dll

Extension methods for the System.Diagnostics.FileVersionInfo class.

public static class FileVersionInfoExtensions
Inheritance
Object
FileVersionInfoExtensions

Methods

ToFileVersion(FileVersionInfo)

Returns a VersionResult from the specified fvi.

public static VersionResult ToFileVersion(this FileVersionInfo fvi)

Parameters

fvi FileVersionInfo

An instance of System.Diagnostics.FileVersionInfo.

Returns

VersionResult

A VersionResult that represents the file version that the System.Diagnostics.FileVersionInfo is distributed with.

ToProductVersion(FileVersionInfo)

Returns a VersionResult from the specified fvi.

public static VersionResult ToProductVersion(this FileVersionInfo fvi)

Parameters

fvi FileVersionInfo

An instance of System.Diagnostics.FileVersionInfo.

Returns

VersionResult

A VersionResult that represents the product version that the System.Diagnostics.FileVersionInfo is distributed with.