Export (0) Print
Expand All

Unmanaged API Reference

Describes the API elements that runtime hosts call from unmanaged code to configure and load the common language runtime into a process. For a description of how to write a runtime host, see Hosting the Common Language Runtime.

Unmanaged API Elements

_CorDllMain
Instructs the operating system loader to look for the entry point in the DLL image.
_CorExeMain
Instructs the operating system loader to look for the entry point in the executable image.
_CorImageUnloading
Notifies the loader when the managed module images are unloaded.
_CorValidateImage
Notifies the loader when the managed module images are loaded.
CoInitializeCor
CoInitializeCor is obsolete. To initialize the common language runtime, use either CorBindToRuntimeEx or CorBindToCurrentRuntime.
CorBindToCurrentRuntime
Loads the common language runtime into a process using version information stored in an XML file.
CorBindToRuntimeEx
Enables unmanaged hosts to load the common language runtime into a process.
CorExitProcess
Shuts down the current unmanaged process.
CoUninitializeCor
CoUninitializeCor is obsolete. The common language runtime cannot be unloaded from a process.
GetCORSystemDirectory
Returns the installation directory of the common language runtime that is loaded into the process.
GetCORVersion
Returns the version number of the common language runtime that is running in the current process.
GetHashFromFile
Generates a hash over the contents of the specified file.
StrongNameFreeBuffer
Frees memory allocated with a previous call to a strong name method.
StrongNameGetPublicKey
Retrieves the public key from a private/public key pair.
StrongNameSignatureGeneration
Generates a strong name signature for the specified assembly.
StrongNameSignatureSize
Returns the size of the strong name signature.
StrongNameTokenFromPublicKey
Returns a token representing a public key.

See Also

Runtime Hosts | Hosting the Common Language Runtime

Show:
© 2014 Microsoft