AllowUncPathForDllPath

This property determines whether Universal Naming Convention directory paths can be used for loading unmanaged ODP.NET dependencies.

Declaration

// C#
public static bool AllowUncPathForDllPath { get; set; }

Property Type

System.Boolean

Exceptions

OracleException: "UNC file path cannot be used for DllPath. Please reconfigure DllPath and restart the application." to be thrown when loading unmanaged ODP.NET dependencies if DllPath is a UNC path.

Remarks

Default value is true. When true, unmanaged ODP.NET dependencies can be loaded from a UNC path. When false, UNC paths are disallowed for retrieving dependencies from the DllPath setting.

Setting this property after DLLs are loaded is a no-op.