Click or drag to resize
HashStreamClose Method
Closes the underlying stream and finishes calculating the hash. If an ExpectedHash is specified and is not equal to the calculated hash, this method will throw an ClientException.

Namespace: Aliyun.OSS.Common.Internal
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntax
public override void Close()
Exceptions
ExceptionCondition
ClientException If ExpectedHash is set and is different from CalculateHash that the stream calculates.
See Also