UtilDnLibGetCLRVersion(ModuleDefMD) Method
Gets the CLR runtime version of a .NET assembly.
Namespace: DevCase.ThirdParty.DnLibAssembly: DevCase.net48.ThirdParty.DnLib (in DevCase.net48.ThirdParty.DnLib.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string GetCLRVersion(
ModuleDefMD assembly
)
Public Shared Function GetCLRVersion (
assembly As ModuleDefMD
) As String
Dim assembly As ModuleDefMD
Dim returnValue As String
returnValue = UtilDnLib.GetCLRVersion(assembly)
public:
static String^ GetCLRVersion(
ModuleDefMD^ assembly
)
static member GetCLRVersion :
assembly : ModuleDefMD -> string
No code example is currently available or this language may not be supported.
- assembly ModuleDefMD
-
The assembly.
String
The CLR runtime version of a .NET assembly.
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
dnlib by 0xd4d
This is a code example.
No code example is currently available or this language may not be supported.
Dim assembly As ModuleDefMD = LoadAssembly("C:\Application.exe")
Dim clrVersion As String = GetRuntimeVersion(assembly)
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.