From the Microsoft .NET API the following information can be extracted:
usingwill call the implementation ofIDisposable.Dispose();IDisposable.Dispose()should callFlush()on anyStreaminstance;CryptoStream.Close()will callCryptoStream.FlushFinalBlock().
However, this seems to leave a gap in the specification: will disposing of a CryptoStream instance also call CryptoStream.FlushFinalBlock(), and if so, where is this documented?