Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Class FileBlob

Binary large object stored as file on disk

Inheritance
System.Object
FileBlob
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Blobs
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public class FileBlob : Blob

Constructors

FileBlob(Uri, String)

Create new FileBlob

Declaration
public FileBlob(Uri id, string filePath)
Parameters
Type Name Description
System.Uri id

the id of blob

System.String filePath

The file path

Properties

FilePath

Path to file

Declaration
public string FilePath { get; }
Property Value
Type Description
System.String

Methods

OpenRead()

Open filestream for reading

Declaration
public override Stream OpenRead()
Returns
Type Description
System.IO.Stream
Overrides

OpenWrite()

Open stream for writing

Declaration
public override Stream OpenWrite()
Returns
Type Description
System.IO.Stream
Overrides

Write(Stream)

Write stream directly to filestream

Declaration
public override void Write(Stream data)
Parameters
Type Name Description
System.IO.Stream data
Overrides

Extension Methods