Create a new binary storage with the given stream and extension.

Namespace: Cartella.Interfaces
Assembly: AssetManagementSystem (in AssetManagementSystem.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
string CreateAssetBinary(
	Stream file,
	string extension
)
Visual Basic
Function CreateAssetBinary ( _
	file As Stream, _
	extension As String _
) As String
Visual C++
String^ CreateAssetBinary(
	Stream^ file, 
	String^ extension
)

Parameters

file
Type: System.IO..::..Stream
Stream to be saved
extension
Type: System..::..String
File extension for the binary (can be null or emtpy)

Return Value

Location of the binary saved, usable for binary lookup

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThrown if a null "file" parameter is passed in
System..::..ArgumentExceptionThrown if the file stream passed in is not readable

See Also