System.Text.ASCIIEncoding Class
Represents an ASCII character implementation of System.Text.Encoding .

See Also: ASCIIEncoding Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class ASCIIEncoding : Encoding

Remarks

System.Text.ASCIIEncoding encodes characters as single 7-bit ASCII characters. This encoding supports Unicode code points between U+0000 and U+007F, inclusive.

Note: The limited range of code points supported by System.Text.ASCIIEncoding makes ASCII inadequate for many internationalized applications. System.Text.UTF8Encoding and System.Text.UnicodeEncoding provide encodings that are more suitable for internationalized applications.

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Requirements

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0