Class TString
Contains a string that describes specifics of a file. For example the version, copyright information or original file name.
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class TString : AbstractStructure
Constructors
| Improve this Doc View SourceTString(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 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 |
---|---|
System.String |
Value
Arbitrary string which contains the information for the szKey member.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
WLength
Length of the String structure in bytes.
Declaration
public ushort WLength { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
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 |
WValueLength
Size of the Value member in words.
Declaration
public ushort WValueLength { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |