mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-16 14:39:28 +00:00
e6a06915cd
Codestyle fixes Setup CODEOWNERS Setup dependabot
23 lines
502 B
C#
23 lines
502 B
C#
using System.IO;
|
|
using System.Security.Cryptography;
|
|
|
|
namespace System.Security.Utilities;
|
|
|
|
internal sealed class NotClosingCryptoStream : CryptoStream
|
|
{
|
|
public NotClosingCryptoStream(Stream stream, ICryptoTransform transform, CryptoStreamMode mode)
|
|
: base(stream, transform, mode)
|
|
{
|
|
}
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (!this.HasFlushedFinalBlock)
|
|
{
|
|
this.FlushFinalBlock();
|
|
}
|
|
|
|
base.Dispose(false);
|
|
}
|
|
}
|