Class Var
Usually a list of languages that the application or DLL supports.
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class Var : AbstractStructure
Constructors
| Improve this Doc View SourceVar(IRawFile, Int64)
Create a new Var instance.
Declaration
public Var(IRawFile peFile, long offset)
Parameters
Type | Name | Description |
---|---|---|
IRawFile | peFile | A PE file. |
System.Int64 | offset | Offset of a Var structure in the PE file. |
Properties
| Improve this Doc View SourceSzKey
Unicode string "Translation"
Declaration
public string SzKey { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
DWORD value where the lower-order word contains the Microsoft language identifier and the high-order word the IBM code page number. Both values can be zero, indicating that the file is code page or language independent.
Declaration
public uint[] Value { get; }
Property Value
Type | Description |
---|---|
System.UInt32[] |
WLength
Length of the Var structure in bytes.
Declaration
public ushort WLength { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
WType
Contains a 1 if the version resource is text and a 0 if the version resource is binary data.
Declaration
public ushort WType { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
WValueLength
Length of the Value member in bytes.
Declaration
public ushort WValueLength { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |