UrlAccessSecurityLevelSetting.RegisterCustomBaseDirectories(String[]) Method

Obsolete. Enables using the "file://" protocol for loading images to the specified directories.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v20.1.dll


[Obsolete("Use the DevExpress.Security.Resources.AccessSettings.StaticResources.TrySetRules method instead.")]
public static bool RegisterCustomBaseDirectories(
    params string[] baseDirectories
<Obsolete("Use the DevExpress.Security.Resources.AccessSettings.StaticResources.TrySetRules method instead.")>
Public Shared Function RegisterCustomBaseDirectories(
    ParamArray baseDirectories As String()
) As Boolean


Name Type Description
baseDirectories String[]

An array of String values, specifying the custom directories.


Type Description

true, if loading images to custom directories is enabled; otherwise, false.


On calling this method, the UrlAccessSecurityLevelSetting.SecurityLevel property becomes set to UrlAccessSecurityLevel.Custom.

This method returns false if registering custom directories has failed (for example, if another directory has already been specified by the Document Viewer).

See Also