Show / Hide Table of Contents

Class TString

Contains a string that describes specifics of a file. For example the version, copyright information or original file name.

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

Constructors

| Improve this Doc View Source

TString(IRawFile, Int64)

Create a new TString structure.

Declaration
public TString(IRawFile peFile, long offset)
Parameters
Type Name Description
IRawFile peFile

A PE file.

System.Int64 offset

Offset of a String structure in the PE file.

Properties

| Improve this Doc View Source

SzKey

Arbitrary Unicode string, which describes the kind of the following data, e.g. "Comments", "CompanyName" and so on.

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

Value

Arbitrary string which contains the information for the szKey member.

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

WLength

Length of the String structure in bytes.

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

WType

Type of the data in the version resource. Contains a 1 if the data is text data and a 0 if it contains binary data.

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

WValueLength

Size of the Value member in words.

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