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