13 references to DefaultCharSet
System.Net.Mail (13)
System\Net\Mail\Attachment.cs (3)
105
encoding = Text.Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
161
encoding = Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
346
Encoding encoding = NameEncoding ?? Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
System\Net\Mail\MailAddress.cs (2)
32
_displayNameEncoding = displayNameEncoding ?? Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
132
displayNameEncoding ??= Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
System\Net\Mail\MailMessage.cs (1)
232
_bodyEncoding = Text.Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
System\Net\Mail\MailPriority.cs (4)
167
_subjectEncoding = Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
353
_headersEncoding ??= Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
384
_headersEncoding ??= Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
490
_headersEncoding ??= Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
System\Net\Mime\ContentDisposition.cs (1)
239
encoding = Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
System\Net\Mime\ContentType.cs (1)
207
encoding = Encoding.GetEncoding(MimeBasePart.
DefaultCharSet
);
System\Net\Mime\MimeBasePart.cs (1)
36
encoding ??= Encoding.GetEncoding(
DefaultCharSet
);