This documentation is archived and is not being maintained.
Encoding:: WebName Property
When overridden in a derived class, gets the name registered with the Internet Assigned Numbers Authority (IANA) for the current encoding.
Namespace:
System.Text
Assembly:
mscorlib (in mscorlib.dll)
No code example is currently available or this language may not be supported.
The WebName property returns an IANA-registered name for the encoding. It returns the strings shown in the following table for the encodings supported by Silverlight.
Encoding
WebName property value
UTF8
utf-8
Unicode
utf-16
BigEndianUnicode
utf-16BE
The following example displays the WebName property for each of the encodings supported by the .NET Framework for Silverlight.
No code example is currently available or this language may not be supported.
Silverlight Supported in: 5, 4, 3
Silverlight for Windows Phone Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework Supported in: Xbox 360, Windows Phone OS 7.0