Retrieves Asset Stream with provided location and file extension.
Namespace: Cartella.InterfacesAssembly: AssetManagementSystem (in AssetManagementSystem.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
Visual Basic |
---|
Function GetAssetStream ( _
location As String, _
extension As String _
) As Stream |
Parameters
- location
- Type: System..::..String
Location of the Asset Binary. This location was originally given by the
CreateAssetBinary method in the Storage Provider.
- extension
- Type: System..::..String
File Extension
Return Value
Stream of the Binary; Null if location doesn't exist
Remarks
Examples
CopyC#
using(Stream assetStream = storage.GetAssetStream(location, ext))
{
}
Exceptions
See Also