BlobService.GetContent Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

GetContent(Blob) Get the blob content as a System.IO.FileInfo object.
GetContent(Blob, string) Gets the blob content converted to the format specified in extension.

GetContent(Blob)

Get the blob content as a System.IO.FileInfo object.

public static FileInfo GetContent(Blob blob)

Parameters

blob
Blob

The blob for which to get content.

Returns

System.IO.FileInfo

A System.IO.FileInfo object if the blob exists; otherwise null.

GetContent(Blob, string)

Gets the blob content converted to the format specified in extension.

public static FileInfo GetContent(Blob blob, string extension)

Parameters

blob
Blob

The blob to convert.

extension
string

File extension of desired output format, e.g. .pdf

Returns

System.IO.FileInfo

A System.IO.FileInfo object if the file could be converted to the specified output format; otherwise null.