Class IMAGE_RESOURCE_DIR_STRING_U
Represents a Unicode string used for resource names in the resource section.
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 IMAGE_RESOURCE_DIR_STRING_U : AbstractStructure
Constructors
| Improve this Doc View SourceIMAGE_RESOURCE_DIR_STRING_U(Byte[], UInt32)
Create a new IMAGE_RESOURCE_DIR_STRING_U Unicode string.
Declaration
public IMAGE_RESOURCE_DIR_STRING_U(byte[] buff, uint offset)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buff | A PE file as a byte array. |
System.UInt32 | 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 |