DkmTransportConnection.GetClrVersionOfExecutable(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the version string for the CLR that the debugger expects a given executable to load. The return value is based on the content of the executable's PE header (if the exe is managed), the executable's config file, CLR environment variables, and loader policy in the registry. The return value may be incorrect, especially in the case of a native executable.
public:
System::String ^ GetClrVersionOfExecutable(System::String ^ ExePath);
public:
Platform::String ^ GetClrVersionOfExecutable(Platform::String ^ ExePath);
std::wstring GetClrVersionOfExecutable(std::wstring const & ExePath);
public string GetClrVersionOfExecutable (string ExePath);
member this.GetClrVersionOfExecutable : string -> string
Public Function GetClrVersionOfExecutable (ExePath As String) As String
Parameters
- ExePath
- String
[In] Path to the executable file.
Returns
[Out] Version string of the CLR. Ex:'v4.0.30319'.