Class VsVersionInfo
Optional Resource member which contains version information and compile time information about the PE file.
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class VsVersionInfo : AbstractStructure
  Constructors
| Improve this Doc View SourceVsVersionInfo(IRawFile, Int64)
Create a new VsVersionInfo instance.
Declaration
public VsVersionInfo(IRawFile peFile, long offset)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IRawFile | peFile | A PE file.  | 
      
| System.Int64 | offset | Offset of the VsVersionInfo in the PE file.  | 
      
Properties
| Improve this Doc View SourceStringFileInfo
Optional StringFileInfo contained in the Children member.
Declaration
public StringFileInfo StringFileInfo { get; }
  Property Value
| Type | Description | 
|---|---|
| StringFileInfo | 
SzKey
Contains the Unicode string "VS_VERSION_INFO"
Declaration
public string SzKey { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
VarFileInfo
Optional VarFileInfo contained in the Children member.
Declaration
public VarFileInfo VarFileInfo { get; }
  Property Value
| Type | Description | 
|---|---|
| VarFileInfo | 
VsFixedFileInfo
Language and code page independent version information about the PE file.
Declaration
public VsFixedFileInfo VsFixedFileInfo { get; }
  Property Value
| Type | Description | 
|---|---|
| VsFixedFileInfo | 
WLength
Length of the VsVersionInfo structure without any padding.
Declaration
public ushort WLength { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.UInt16 | 
WType
Set to 0 if the version resource contains text and 0 if the version resource contains binary data.
Declaration
public ushort WType { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.UInt16 | 
WValueLength
Length of the Value member. If the Value member is 0, there is no value member available in the VsVersionInfo structure.
Declaration
public ushort WValueLength { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.UInt16 |