16 references to None
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
874
Encryption = ZipEncryptionMethod.
None
;
System\IO\Compression\ZipArchiveEntry.cs (4)
229
/// <see cref="ZipEncryptionMethod.
None
"/> if the entry is not encrypted;
1242
streamForPosition: encryptionMethod != ZipEncryptionMethod.
None
? _archive.ArchiveStream : null);
1885
Encryption = ZipEncryptionMethod.
None
;
2198
public DirectToArchiveWriterStream(CheckSumAndSizeWriteStream crcSizeStream, ZipArchiveEntry entry, ZipEncryptionMethod encryptionMethod = ZipEncryptionMethod.
None
, Stream? encryptionStream = null)
System.IO.Compression.ZipFile (11)
System\IO\Compression\ZipFile.Create.Async.cs (3)
445
if (options.EncryptionMethod != ZipEncryptionMethod.
None
&& options.Password.IsEmpty)
472
if (options.EncryptionMethod != ZipEncryptionMethod.
None
&& options.Password.IsEmpty)
522
ReadOnlyMemory<char> password = default, ZipEncryptionMethod encryptionMethod = ZipEncryptionMethod.
None
, CancellationToken cancellationToken = default)
System\IO\Compression\ZipFile.Create.cs (3)
414
if (options.EncryptionMethod != ZipEncryptionMethod.
None
&& options.Password.IsEmpty)
436
if (options.EncryptionMethod != ZipEncryptionMethod.
None
&& options.Password.IsEmpty)
472
ReadOnlySpan<char> password = default, ZipEncryptionMethod encryptionMethod = ZipEncryptionMethod.
None
)
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.Async.cs (1)
143
CompressionLevel? compressionLevel, ReadOnlyMemory<char> password = default, ZipEncryptionMethod encryption = ZipEncryptionMethod.
None
, CancellationToken cancellationToken = default)
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.cs (4)
131
ReadOnlySpan<char> password = default, ZipEncryptionMethod encryption = ZipEncryptionMethod.
None
)
147
private static (FileStream, ZipArchiveEntry) InitializeDoCreateEntryFromFile(ZipArchive destination, string sourceFileName, string entryName, CompressionLevel? compressionLevel, bool useAsync, ReadOnlySpan<char> password = default, ZipEncryptionMethod encryption = ZipEncryptionMethod.
None
)
160
if (encryption != ZipEncryptionMethod.
None
&& password.IsEmpty)
167
if (encryption != ZipEncryptionMethod.
None
)