Class TString
Contains a string that describes specifics of a file. For example the version, copyright information or original file name.
Inherited Members
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class TString : AbstractStructure
Constructors
| Edit this page View SourceTString(IRawFile, long)
Create a new TString structure.
Declaration
public TString(IRawFile peFile, long offset)
Parameters
| Type | Name | Description |
|---|---|---|
| IRawFile | peFile | A PE file. |
| long | offset | Offset of a String structure in the PE file. |
Properties
| Edit this page View SourceSzKey
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 |
|---|---|
| string |
Value
Arbitrary string which contains the information for the szKey member.
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |
WLength
Length of the String structure in bytes.
Declaration
public ushort WLength { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
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 |
|---|---|
| ushort |
WValueLength
Size of the Value member in words.
Declaration
public ushort WValueLength { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |