Show / Hide Table of Contents

Class Var

Usually a list of languages that the application or DLL supports.

Inheritance
System.Object
AbstractStructure
Var
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class Var : AbstractStructure

Constructors

| Improve this Doc View Source

Var(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 Source

SzKey

Unicode string "Translation"

Declaration
public string SzKey { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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[]
| Improve this Doc View Source

WLength

Length of the Var structure in bytes.

Declaration
public ushort WLength { get; set; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

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
| Improve this Doc View Source

WValueLength

Length of the Value member in bytes.

Declaration
public ushort WValueLength { get; set; }
Property Value
Type Description
System.UInt16
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX