PowerTCP SSH and SFTP for .NET
NegotiateCompression Property




Enables compression negotiation.
Syntax
'Declaration
 
Public Property NegotiateCompression As Boolean
'Usage
 
Dim instance As Connection
Dim value As Boolean
 
instance.NegotiateCompression = value
 
value = instance.NegotiateCompression
public bool NegotiateCompression {get; set;}
public: __property bool get_NegotiateCompression();
public: __property void set_NegotiateCompression( 
   bool value
);
public:
property bool NegotiateCompression {
   bool get();
   void set (    bool value);
}

Property Value

True to enable compression negotiation.
Remarks

Negotiates compression when true, advertises only the 'none' compression method when false.

Note: Setting this property to true does not guarantee the use of compression, only that its use will be negotiated. Additionally, compression is negotiated in a bi-directional manner, so it is possible that compression is enabled only for client-to-server communications, but not for server-to-client, or vice-versa (this property enables/disables client negotiation for both).

Supported compression methods are:

See Also

Reference

Connection Class
Connection Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic