Skip to content

ResourceInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Information about a managed resource embedded in the assembly.

public sealed record ResourceInfo : IEquatable<ResourceInfo>

ObjectResourceInfo

ResourceInfo(string, string, int, long, bool)

Section titled “ResourceInfo(string, string, int, long, bool)”

Information about a managed resource embedded in the assembly.

Parameters:

  • Name (String): The name of the resource.
  • Visibility (String): Whether the resource is public or private.
  • Offset (Int32): The byte offset of the resource data within the resources section.
  • Size (Int64): The size of the resource data in bytes, or -1 if unknown.
  • IsLinked (Boolean): Whether this is a linked (external) resource rather than embedded.
public ResourceInfo(string Name, string Visibility, int Offset, long Size, bool IsLinked)

Whether this is a linked (external) resource rather than embedded.

Returns: Boolean

public bool IsLinked { get; init; }

The name of the resource.

Returns: String

public string Name { get; init; }

The byte offset of the resource data within the resources section.

Returns: Int32

public int Offset { get; init; }

The size of the resource data in bytes, or -1 if unknown.

Returns: Int64

public long Size { get; init; }

Whether the resource is public or private.

Returns: String

public string Visibility { get; init; }