Skip to main content

FileVersion Properties

An object defining properties for the FileVersion class.

Major​

Gets or sets the major version number of the file.

Type: long?

This property represents the primary version number in the major.minor versioning scheme. Being nullable allows for cases where the version number has not yet been assigned.


Minor​

Gets or sets the minor version number of the file.

Type: long?

This property represents the secondary version number in the major.minor versioning scheme. Being nullable allows for cases where the version number has not yet been assigned.


VersionDate​

Gets or sets the date and time when this version was created.

Type: DateTimeOffset?

This property tracks when the version was created, using DateTimeOffset to preserve timezone information. Being nullable allows for cases where the version date has not yet been set.