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 |
exception | condition |
---|---|
ArgumentNullException | Upload storage is null |
- interface IUploadStorage
- class UploadStorageExtensions