ProGet SDK Reference
Version:

Version Property

Gets the version of the package.

Syntax

public abstract object Version { get; }

Remarks

This will generally be the internal representation of the package version specific to the feed type. To convert to a string, just use System.Object.ToString.