Table of Contents

Struct GacDirectory

Namespace
AsmResolver.DotNet
Assembly
AsmResolver.DotNet.dll

Provides information about a directory in the global assembly cache (GAC).

public readonly struct GacDirectory
Inherited Members

Constructors

GacDirectory(string, string?)

Creates a new record of a global assembly cache info.

public GacDirectory(string basePath, string? prefix = null)

Parameters

basePath string

The path to the global assembly cache.

prefix string

The string to prepend to the assembly's directory.

Methods

Probe(AssemblyDescriptor)

Probes the global assembly cache for an assembly.

public string? Probe(AssemblyDescriptor assembly)

Parameters

assembly AssemblyDescriptor

The assembly to lookup.

Returns

string

The path to the assembly, or null if none was found.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.