Click or drag to resize
EfficientStorageManagerStoreFile Method
Stores the content of the stream at the given id.

Namespace: Activsoft.Storage
Assembly: Activsoft.Engine (in Activsoft.Engine.dll) Version: 6.0.0.0
Syntax
public string StoreFile(
	Stream src,
	string fileName,
	int id,
	bool overwrite
)

Parameters

src
Type: System.IOStream
The data to store into the file.
fileName
Type: SystemString
Name of the file.
id
Type: SystemInt32
The unique identifier.
overwrite
Type: SystemBoolean
if set to true, overwrites the existing file, else, does nothing.

Return Value

Type: String
The path relative to the root directory.
See Also