Click or drag to resize

ILiteStorageTFileIdUpload(TFileId, String, Stream, BsonDocument) Method

Upload a file based on stream data

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
LiteFileInfo<TFileId> Upload(
	TFileId id,
	string filename,
	Stream stream,
	BsonDocument metadata = null
)

Parameters

id  TFileId
 
filename  String
 
stream  Stream
 
metadata  BsonDocument  (Optional)
 

Return Value

LiteFileInfoTFileId
See Also