Class ImageResourceDirStringU
Represents a Unicode string used for resource names in the resource section.
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageResourceDirStringU : AbstractStructureConstructors
| Improve this Doc View SourceImageResourceDirStringU(IRawFile, Int64)
Create a new ImageResourceDirStringU Unicode string.
Declaration
public ImageResourceDirStringU(IRawFile peFile, long offset)Parameters
| Type | Name | Description | 
|---|---|---|
| IRawFile | peFile | A PE file. | 
| System.Int64 | offset | Raw offset of the string. | 
Properties
| Improve this Doc View SourceLength
Length of the string in Unicode characters, not in bytes. 1 Unicode char = 2 bytes.
Declaration
public ushort Length { get; set; }Property Value
| Type | Description | 
|---|---|
| System.UInt16 | 
NameString
The Unicode string as a .Net string.
Declaration
public string NameString { get; }Property Value
| Type | Description | 
|---|---|
| System.String |