Class FixedVersionInfo
- Namespace
- AsmResolver.PE.Win32Resources.Version
- Assembly
- AsmResolver.PE.Win32Resources.dll
Represents the organization of data in a file-version resource. It is the root structure that contains all other file-version information structures.
public class FixedVersionInfo : SegmentBase, ISegment, IOffsetProvider, IWritable
- Inheritance
-
FixedVersionInfo
- Implements
- Inherited Members
Constructors
FixedVersionInfo()
public FixedVersionInfo()
Fields
Signature
The signature value a FixedVersionInfo structure starts with.
public const uint Signature = 4277077181
Field Value
Properties
FileDate
Gets or sets the binary creation date and time stamp
public ulong FileDate { get; set; }
Property Value
FileFlags
Gets or sets the bitmask that specifies the attributes of the file.
public FileFlags FileFlags { get; set; }
Property Value
FileFlagsMask
Gets or sets the bitmask that specifies the valid bits in FileFlags. A bit is valid only if it was defined when the file was created.
public FileFlags FileFlagsMask { get; set; }
Property Value
FileOS
Gets or ses the operating system for which this file was designed.
public FileOS FileOS { get; set; }
Property Value
FileSubType
Gets or sets the function of the file.
public FileSubType FileSubType { get; set; }
Property Value
FileType
Gets or sets the general type of file.
public FileType FileType { get; set; }
Property Value
FileVersion
Gets or sets the file version number.
public Version FileVersion { get; set; }
Property Value
ProductVersion
Gets or sets the product version number.
public Version ProductVersion { get; set; }
Property Value
Methods
FromReader(ref BinaryStreamReader)
Reads a single fixed version info structure from an input stream.
public static FixedVersionInfo FromReader(ref BinaryStreamReader reader)
Parameters
readerBinaryStreamReaderThe input stream.
Returns
- FixedVersionInfo
The read structure.
GetPhysicalSize()
Computes the number of bytes that the structure contains.
public override uint GetPhysicalSize()
Returns
- uint
The number of bytes.
Write(BinaryStreamWriter)
Serializes the structure to an output stream.
public override void Write(BinaryStreamWriter writer)
Parameters
writerBinaryStreamWriterThe output stream to write the data to.