Click or drag to resize

ExtensionContainer Class

Represents extensions supported by the remote server. You can access this object through Extensions property. It is updated as soon as the connection is made, after login, and every time Feat method is used.
Inheritance Hierarchy
SystemObject
  Limilabs.FTP.ClientExtensionContainer

Namespace: Limilabs.FTP.Client
Assembly: Ftp (in Ftp.dll) Version: 2.0.26109.1248
Syntax
public class ExtensionContainer

The ExtensionContainer type exposes the following members.

Constructors
 NameDescription
Public methodExtensionContainerInitializes a new instance of the ExtensionContainer class
Top
Properties
 NameDescription
Public propertySupportedHashTypes Gets all hash algorithms supported by the remote FTP server. You can use values returned by this method as parameters for GetFileHash(String, FtpHashType) and GetFileHash(String, FtpHashType, Int64, Int64) methods.
Public propertySupportsAuthSSL Gets boolean value indicating if Auth extension with SSL is supported. True indicates you can use AuthTLS method.
Public propertySupportsAuthTLS Gets boolean value indicating if Auth extension with TLS is supported. True indicates you can use AuthTLS method.
Public propertySupportsMDTM Gets boolean value indicating if MDTM is supported. True indicates you can use GetFileModificationTime(String) and SetFileModificationTime(String, DateTime) method.
Public propertySupportsMFMT Gets boolean value indicating if MFMT is supported. True indicates you can use SetFileModificationTime(String, DateTime) method.
Public propertySupportsMLST Gets boolean value indicating if MLST is supported. True indicates you can use MLST, MLST(String) and MLSD, MLSD(String) methods.
Public propertySupportsModeZ Gets boolean value indicating if Mode extension with ZLib is supported.
Public propertySupportsRestStream Gets boolean value indicating if Rest extension with Stream is supported. True indicates you can use Download(String, Int64), Download(String, Int64, Stream), Upload(String, Int64, Stream), Upload(String, Int64, Byte) methods.
Public propertySupportsSize Gets boolean value indicating if Size is supported. True indicates you can use GetFileSize(String) method.
Public propertySupportsUTF8 Gets boolean value indicating if UTF8 is supported.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetExtensions Gets all extensions supported by the remote FTP server.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSupports Checks if the remote FTP server supports specified extension.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also