50 references to GetEncoding
mscorlib (1)
system\security\util\parser.cs (1)
362
_t.ChangeFormat( System.Text.Encoding.
GetEncoding
( stream.GetNextString() ) );
System (20)
net\System\Net\HttpListenerRequest.cs (2)
368
return Encoding.
GetEncoding
(postDataCharset);
379
return Encoding.
GetEncoding
(charSet);
net\System\Net\mail\Attachment.cs (4)
122
encoding = Text.Encoding.
GetEncoding
(contentType.CharSet);
129
encoding = Text.Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
180
encoding = Text.Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
358
encoding = Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
net\System\Net\mail\ContentDisposition.cs (1)
315
encoding = Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
net\System\Net\mail\ContentType.cs (1)
236
encoding =Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
net\System\Net\mail\MailAddress.cs (2)
34
this.displayNameEncoding = Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
74
this.displayNameEncoding = displayNameEncoding ?? Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
net\System\Net\mail\MailMessage.cs (1)
204
bodyEncoding = Text.Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
net\System\Net\mail\Message.cs (4)
175
subjectEncoding = Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
334
this.headersEncoding = Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
365
this.headersEncoding = Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
457
this.headersEncoding = Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
net\System\Net\mail\MimeBasePart.cs (4)
41
encoding = Encoding.
GetEncoding
(MimeBasePart.defaultCharSet);
80
IEncodableStream s = encoderFactory.GetEncoderForHeader(Encoding.
GetEncoding
(charSet), base64Encoding, 0);
84
Encoding encoding = Encoding.
GetEncoding
(charSet);
104
return Encoding.
GetEncoding
(charSet);
net\System\Net\webclient.cs (1)
1606
enc = Encoding.
GetEncoding
(item);
System.Data (1)
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
193
writerSettings.Encoding = Encoding.
GetEncoding
("utf-16");
System.Data.Services (1)
System\Data\Services\HttpProcessUtility.cs (1)
444
return Encoding.
GetEncoding
(name);
System.Data.Services.Client (1)
parent\Server\System\Data\Services\HttpProcessUtility.cs (1)
444
return Encoding.
GetEncoding
(name);
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
545
Encoding encoding = Encoding.
GetEncoding
(input.Value);
System\Xml\Xsl\XsltOld\XsltOutput.cs (1)
123
this.encoding = System.Text.Encoding.
GetEncoding
(value);
System.ServiceModel (2)
System\ServiceModel\Configuration\EncodingConverter.cs (1)
48
retval = Encoding.
GetEncoding
(encoding);
System\ServiceModel\Description\MetadataExchangeClient.cs (1)
1325
e = Encoding.
GetEncoding
(charset);
System.Web (10)
Configuration\GlobalizationSection.cs (4)
271
responseEncodingCache = (Encoding)Encoding.
GetEncoding
((string)base[_propResponseEncoding]);
280
responseHeaderEncodingCache = (Encoding)Encoding.
GetEncoding
((string)base[_propResponseHeaderEncoding]);
292
requestEncodingCache = (Encoding)Encoding.
GetEncoding
((string)base[_propRequestEncoding]);
304
fileEncodingCache = (Encoding)Encoding.
GetEncoding
((string)base[_propFileEncoding]);
HttpRequest.cs (2)
911
return Encoding.
GetEncoding
(postDataCharset);
936
encoding = Encoding.
GetEncoding
(charSet);
UI\Page.cs (3)
3838
set { Response.ContentEncoding = Encoding.
GetEncoding
(value); }
5598
_response.ContentEncoding = Encoding.
GetEncoding
(preferredResponseEncoding);
5602
_request.ContentEncoding = Encoding.
GetEncoding
(preferredRequestEncoding);
UI\PageParser.cs (1)
433
Encoding.
GetEncoding
(_responseEncoding);
System.Web.Mobile (3)
UI\MobileControls\Adapters\HtmlPageAdapter.cs (2)
405
context.Response.ContentEncoding = Encoding.
GetEncoding
(preferredResponseEncoding);
409
context.Request.ContentEncoding = Encoding.
GetEncoding
(preferredRequestEncoding);
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
451
private static readonly Encoding UTF8Encoding = Encoding.
GetEncoding
("UTF-8");
System.Web.Services (2)
System\Web\Services\Protocols\RequestResponse.cs (2)
48
e = Encoding.
GetEncoding
(charset);
73
e = Encoding.
GetEncoding
(charset);
System.Windows.Forms (3)
winforms\Managed\System\Resources\ResXDataNode.cs (2)
281
fileRef = new ResXFileRef(FileRefFullPath, FileRefType, Encoding.
GetEncoding
(FileRefTextEncoding));
679
fileRef = new ResXFileRef(FileRefFullPath, FileRefType, Encoding.
GetEncoding
(FileRefTextEncoding));
winforms\Managed\System\Resources\ResXFileRef.cs (1)
296
textFileEncoding = Encoding.
GetEncoding
(parts[2]);
System.Xml (2)
System\Xml\Core\XmlTextReaderImpl.cs (1)
3012
newEncoding = Encoding.
GetEncoding
( newEncodingName );
System\Xml\Dom\XmlDocument.cs (1)
1137
return System.Text.Encoding.
GetEncoding
( value );
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (2)
5832
ws.Encoding = Encoding.
GetEncoding
(declaration.Encoding);
5875
ws.Encoding = Encoding.
GetEncoding
(declaration.Encoding);