System.Text.EncodingInfo.Name Property

Gets the name registered with the Internet Assigned Numbers Authority (IANA) for the encoding.


public string Name { get; }


Documentation for this section has not yet been entered.


This property defines the name that is appropriate for passing to Encoding.GetEncoding(string). This name is the same as the name represented by the Encoding.WebName property. When its value is the name of a standard, the actual implementation of the encoding may not conform in full to that standard. Your applications should use EncodingInfo.DisplayName for a human-readable name.

The Encoding.GetEncodings method gets a complete list of supported encodings, uniquely distinguished by code page. If your application retrieves encodings using the EncodingInfo.Name property, note that some duplicate encodings are retrieved. For more about handling these duplicates, see the description of Encoding.GetEncodings.


Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions:,
Since: .NET 2.0