Table of Contents

GetFileVersion Method

Definition

Namespace
Cuemon.Extensions.Reflection
Assemblies
Cuemon.Extensions.Reflection.dll
Source
src/Cuemon.Extensions.Reflection/AssemblyExtensions.cs

GetFileVersion(Assembly)

Returns a VersionResult that represents the file version number of the specified assembly.

public static VersionResult GetFileVersion(this Assembly assembly)

Parameters

assembly Assembly

The assembly to resolve a Version from.

Returns

VersionResult

A VersionResult that represents the file version number of the specified assembly.

Exceptions

ArgumentNullException

assembly is null.