Skip to content

UploadStorageExtensions.ReadAllFileBytes method

namespace: Serenity.Web   assembly: Serenity.Net.Services

Reads all file bytes

public static byte[] ReadAllFileBytes(this IUploadStorage uploadStorage, string path)
parameter description
uploadStorage Upload storage
path File path

Exceptions

exception condition
ArgumentNullException Upload storage is null

See Also