CloudFileSystemProviderBase.GetPublicUrl(FileManagerFile) Method
In This Article
Override this method to get the public URL of the uploaded file.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual string GetPublicUrl(
FileManagerFile file
)
#Parameters
Name | Type | Description |
---|---|---|
file | File |
A 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