Get the Stream of the Latest version 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 close the stream after using it, otherwise the resource will be tie up, causing references to the specific binary not possible due to mutual exclusivity. Suggest to use using (Using in VisualBasic.NET) statement to wrap up the usage to this property at all time. all the time.

Examples

CopyC#
using(Stream file = member.File)
{
    //tasks done here
}

See Also