GetCORVersion
This page is specific to:.NET Framework Version:1.12.03.03.54.0
.NET Framework General Reference
GetCORVersion

Returns the version number of the common language runtime that is running in the current process.

Syntax

HRESULT GetCORVersion(
  LPWSTR pbuffer,  
  DWORD  cchBuffer, 
  DWORD* dwlength
); 

Header file: Include Mscoree.h.

Library: Link with Mscoree.lib.

Parameters

pbuffer [in]
A buffer in which the common language runtime returns a string specifying the version of the runtime that is currently loaded into the process. The returned string takes the same form as strings passed to CorBindToRuntimeEx, for example, "v1.0.1216". If the runtime has not yet been loaded in the process, the function returns the appropriate directory information for the latest version of the runtime installed on the computer.
cchBuffer [in]
The number of characters in pbuffer.
dwLength [out]
The number of characters returned in pbuffer.
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View