Class TString
Contains a string that describes specifics of a file. For example the version, copyright information or original file name.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PeNet.Structures
Assembly: PeNet.dll
Syntax
public class TString : AbstractStructure
Constructors
| Improve this Doc View SourceTString(Byte[], UInt32)
Declaration
public TString(byte[] buff, uint offset)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buff | |
System.UInt32 | offset |
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 |