Skip to main content
A newer version of this page is available. .
Tab

CloudFileSystemProviderBase.GetPublicUrl(FileManagerFile) Method

Override this method to get the public URL of the uploaded file.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public virtual string GetPublicUrl(
    FileManagerFile file
)

Parameters

Name Type Description
file FileManagerFile

A FileManagerFile object that is the uploaded file.

Returns

Type Description
String

A String value specifying the public URL of the uploaded file.

Remarks

If you create a custom file system provider inherited from the CloudFileSystemProviderBase class, you can override the GetPublicUrl method to get the public URL of the uploaded file. Note that everyone with the link can read this file.

By default, the method has no implementation, and should be overridden.

See Also