Class StringTable
One ore more StringTable structures, where each tables szKey indicates the language and code page for displaying the text in the StringTable.
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class StringTable : AbstractStructure
Constructors
| Improve this Doc View SourceStringTable(IRawFile, Int64)
Create a new StringTable instance.
Declaration
public StringTable(IRawFile peFile, long offset)
Parameters
Type | Name | Description |
---|---|---|
IRawFile | peFile | A PE file. |
System.Int64 | offset | Offset of a StringTable structure in the PE file. |
Properties
| Improve this Doc View SourceComments
Additional information that should be displayed for diagnostic purposes.
Declaration
public string? Comments { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
CompanyName
Name of the company that produced the file, e.g. "Microsoft Corporation".
Declaration
public string? CompanyName { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
FileDescription
Description of the file for users, e.g. "Keyboard driver for IBM keyboards".
Declaration
public string? FileDescription { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
FileVersion
Version of the file, e.g. "6.00.21".
Declaration
public string? FileVersion { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
InternalName
Internal name of the file, like a module or DLL name.
Declaration
public string? InternalName { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
LegalCopyright
Contains all legal copyright notices, registered trademarks and copyright dates for the file. E.g. "Copyright Microsoft Corp. 1990".
Declaration
public string? LegalCopyright { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
LegalTrademarks
Contains all legal trademarks that apply to the file, e.g. "Windows is a trademark of Microsoft Corporation".
Declaration
public string? LegalTrademarks { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
OriginalFilename
The original file name not including the path. Used to identify if a file was renamed by the user.
Declaration
public string? OriginalFilename { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
PrivateBuild
Contains by whom, where, and why this private version of the file was built. Should only be present if the VS_FF_PRIVATEBUILD flag is set in the dwFileFlags member of the VsFixedFileInfo structure.
Declaration
public string? PrivateBuild { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
ProductName
Name of the product with which the file was distributed, e.g. "Firefox".
Declaration
public string? ProductName { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
ProductVersion
Contains the version of the product with which the file was distributed.
Declaration
public string? ProductVersion { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
SpecialBuild
Contains how this version of the file differs from the normal version. This entry should only be present if the VS_FF_SPECIALBUILD flag is set in the dwFileFlags member of the VsFixedFileInfo structure.
Declaration
public string? SpecialBuild { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
String
Array of String structures.
Declaration
public TString[] String { get; }
Property Value
Type | Description |
---|---|
TString[] |
SzKey
Unicode string which contains a 8-digit hexadecimal number. The most significant digits represent the language identifier and the four least significant digits the code page for which the data is formatted.
Declaration
public string SzKey { get; }
Property Value
Type | Description |
---|---|
System.String |
WLength
Length of the StringTable structure in bytes, including its children.
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
Always zero.
Declaration
public ushort WValueLength { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |