UtilAssemblyRegistrationIsAssemblyInGAC(AssemblyName) 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(
AssemblyName assemblyName
)
Public Shared Function IsAssemblyInGAC (
assemblyName As AssemblyName
) As Boolean
Dim assemblyName As AssemblyName
Dim returnValue As Boolean
returnValue = UtilAssemblyRegistration.IsAssemblyInGAC(assemblyName)
public:
static bool IsAssemblyInGAC(
AssemblyName^ assemblyName
)
static member IsAssemblyInGAC :
assemblyName : AssemblyName -> bool
No code example is currently available or this language may not be supported.
- assemblyName AssemblyName
-
An AssemblyName instance that contains the assembly info.
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.ReflectionOnlyLoad("C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.dll")
Dim asmName As AssemblyName = asm.GetName()
Dim isAssemblyInstalled As Boolean = IsAssemblyInGAC(asmName)
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.