CmisSync.Lib.Streams.ProgressStream.ProgressStream C# (CSharp) Method

ProgressStream() public method

Initializes a new instance of the CmisSync.Lib.Streams.ProgressStream class. The given transmission event will be used to report the progress
public ProgressStream ( Stream stream ) : System
stream Stream /// Stream which progress should be monitored. ///
return System
        public ProgressStream(Stream stream) : base(stream) {
            try {
                this.length = stream.Length;
            } catch (NotSupportedException) {
            }
        }