My Oracle Support Banner

How To Determine Version Of Loaded OLEDB Provider Used Inside C# Application During Runtime Programmatically ? (Doc ID 1532798.1)

Last updated on MARCH 04, 2022

Applies to:

Oracle Provider for OLE DB - Version 8.1.6.0.0 and later
Information in this document applies to any platform.

Goal

Sometimes it would be useful to determine the version of the loaded OLEDB Provider. Unfortunatly there is no property or anything else available to do this directly. Only information about release is the Server version ones connected .

This document provides sample source code in C# how to accomplish this during runtime by extracting the Provider name from connection string and afterwards search the registry to find the DLL path of the provider and determine the release from that path information

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.