Class MetaDataStreamUs
Represents the "US" (user string) meta data stream from the .Net header which contains all application internal strings.
Namespace: PeNet.Header.Net
Assembly: PeNet.dll
Syntax
public class MetaDataStreamUs : AbstractStructure
Constructors
| Improve this Doc View SourceMetaDataStreamUs(IRawFile, Int64, UInt32)
Declaration
public MetaDataStreamUs(IRawFile peFile, long offset, uint size)
Parameters
| Type | Name | Description |
|---|---|---|
| IRawFile | peFile | |
| System.Int64 | offset | |
| System.UInt32 | size |
Properties
| Improve this Doc View SourceUserStrings
List with strings in the Meta Data stream "US".
Declaration
public List<string> UserStrings { get; }
Property Value
| Type | Description |
|---|---|
| List<System.String> |
UserStringsAndIndices
List with strings and their index in the Meta Data stream "US".
Declaration
public List<Tuple<string, uint>> UserStringsAndIndices { get; }
Property Value
| Type | Description |
|---|---|
| List<Tuple<System.String, System.UInt32>> |
Methods
| Improve this Doc View SourceGetUserStringAtIndex(UInt32)
Return the user string at the index from the stream.
Declaration
public string? GetUserStringAtIndex(uint index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | index | Index of the user string to return. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.String> | User string at the position index. |