Class Var
Usually a list of languages that the application or DLL supports.
Inherited Members
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class Var : AbstractStructure
Constructors
| Edit this page View SourceVar(IRawFile, long)
Create a new Var instance.
Declaration
public Var(IRawFile peFile, long offset)
Parameters
| Type | Name | Description |
|---|---|---|
| IRawFile | peFile | A PE file. |
| long | offset | Offset of a Var structure in the PE file. |
Properties
| Edit this page View SourceSzKey
Unicode string "Translation"
Declaration
public string SzKey { get; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| uint[] |
WLength
Length of the Var structure in bytes.
Declaration
public ushort WLength { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
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 |
|---|---|
| ushort |
WValueLength
Length of the Value member in bytes.
Declaration
public ushort WValueLength { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |