Skip to content

UploadStorageExtensions class

namespace: Serenity.Web   assemblySerenity.Net.Services

Extension methods for IUploadStorage and related classes

public static class UploadStorageExtensions

Public Members

name description
static CopyTemporaryFile(…) Copies a temporary file to its target location.
static GetOriginalName(…) Gets original name of a file.
static GetPrimaryFileFromThumb(…) Gets the primary file path from a thumbnail path
static GetThumbnailFiles(…) Gets thumbnail files for a source file
static GetThumbnailUrl(…) Gets thumbnail URL for the file path.
static ReadAllFileBytes(…) Reads all file bytes.
static SetOriginalName(…) Sets original name for a file.

See Also