OdbcDsnInfo AllDsnElements Property CleanCode C# Libraries v1.2.03 API
Reads the local user/system DSN registry entries and returns a Dictionary with keys of Data Source Names and values being the driver type.

Namespace: CleanCode.Data
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

public static Dictionary<string, string> AllDsnElements { get; }

Field Value

A Dictionary of (Data Source Name, Data Source Driver) pairs.

In the event that a DSN exists in both the User and System registries, the User DSN takes precedence over the System DSN.
See Also