mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-12 07:47:58 +00:00
30 lines
720 B
C#
30 lines
720 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
|
|
namespace Renci.SshNet.Compression
|
|
{
|
|
/// <summary>
|
|
/// Represents "zlib" compression implementation
|
|
/// </summary>
|
|
internal class Zlib : Compressor
|
|
{
|
|
/// <summary>
|
|
/// Gets algorithm name.
|
|
/// </summary>
|
|
public override string Name
|
|
{
|
|
get { return "zlib"; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initializes the algorithm
|
|
/// </summary>
|
|
/// <param name="session">The session.</param>
|
|
public override void Init(Session session)
|
|
{
|
|
base.Init(session);
|
|
this.IsActive = true;
|
|
}
|
|
}
|
|
} |