Table of Contents

GetProductVersion Method

Definition

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

GetProductVersion(Assembly)

Returns a VersionResult that represents the version of the product this assembly is distributed with.

public static VersionResult GetProductVersion(this Assembly assembly)

Parameters

assembly Assembly

The assembly to resolve a Version from.

Returns

VersionResult

A VersionResult that represents the version of the product this assembly is distributed with.

Exceptions

ArgumentNullException

assembly is null.