Get the File Stream of the binary.

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

Syntax

C#
Stream File { get; }
Visual Basic
ReadOnly Property File As Stream
	Get
Visual C++
property Stream^ File {
	Stream^ get ();
}

Remarks

Please make sure to close the stream after using it, otherwise the resource will be tied up, blocking references to the specific binary due to mutual exclusivity. We suggest using the using (Using in VisualBasic.NET) statement to wrap up the usage to this property at all times.

Examples

CopyC#
using(Stream binaryFile = binary.File)
{
    //tasks done here
}

See Also