UtilAssemblyRegistrationIsAssemblyInGAC(Assembly) Method
Determines whether the specified assembly is installed in GAC (Global Assembly Cache).
Namespace: DevCase.Core.Diagnostics.AssemblyAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool IsAssemblyInGAC(
Assembly assembly
)
Public Shared Function IsAssemblyInGAC (
assembly As Assembly
) As Boolean
Dim assembly As [Assembly]
Dim returnValue As Boolean
returnValue = UtilAssemblyRegistration.IsAssemblyInGAC(assembly)
public:
static bool IsAssemblyInGAC(
Assembly^ assembly
)
static member IsAssemblyInGAC :
assembly : Assembly -> bool
No code example is currently available or this language may not be supported.
- assembly Assembly
-
The source DevCase.Core.Diagnostics.Assembly.
Boolean if the assembly is installed in GAC; otherwise,
.
This is a code example.
No code example is currently available or this language may not be supported.
Dim asm As Assembly = Assembly.ReflectionOnlyLoadFrom("C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.dll")
Dim isAssemblyInstalled As Boolean = IsAssemblyInGAC(asm)
Console.WriteLine(isAssemblyInstalled)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.