SocketTools .NET Edition

FileEncoder.EncodingType Enumeration

Provides constant values for the DecodeFile and EncodeFile methods.

[Visual Basic]
Public Enum FileEncoder.EncodingType
[C#]
public enum FileEncoder.EncodingType

Remarks

The EncodingType enumeration is used to specify the default encoding method used by the DecodeFile and EncodeFile methods.

Members

Member Name Description
encodingDefault Use the default encoding method. This is the same specifying that the base64 algorithm should be used for encoding and decoding files.
encodingBase64 Use the base64 algorithm for encoding and decoding files. This is the standard method for encoding files as outlined in the Multipurpose Internet Mail Extensions (MIME) protocol. This is the method used by most modern e-mail client software.
encodingQuotedPrintable This encoding method is typically used for text messages that use characters beyond the standard ASCII character set, in the range of 128-255. This method, called quoted printable encoding, allows text messages to pass through mail systems that do not support characters with the high-bit set. Note that this method should not be used to encode binary files such as executable programs because the resulting output can be very large. For binary files, use the base64 algorithm instead.
encodingUucode Use the uuencode and uudecode algorithms for encoding and decoding files. This is a common encoding method used with UNIX systems and older e-mail client software.
encodingYencode Use the yEnc algorithm for encoding the file. This is an encoding method that is commonly used when posting files to Usenet newsgroups.
encodingCompressed This option specifies that the data should be compressed prior to being encoded when the EncodeFile method is called. If the DecodeFile method is called to decode a previously encoded file that was created using this option, it will cause the data to be expanded after it has been decoded.

Requirements

Namespace: SocketTools

Assembly: SocketTools.FileEncoder (in SocketTools.FileEncoder.dll)

See Also

SocketTools Namespace