13 references to IsAscii
System (13)
net\System\Net\mail\Attachment.cs (3)
125
if (MimeBasePart.
IsAscii
(contentString,false)) {
176
if (MimeBasePart.
IsAscii
(contentString,false)) {
355
if (!allowUnicode && name != null && name.Length != 0 && !MimeBasePart.
IsAscii
(name, false)) {
net\System\Net\mail\ContentDisposition.cs (1)
308
|| MimeBasePart.
IsAscii
(value, false)) // Ascii
net\System\Net\mail\ContentType.cs (1)
229
|| MimeBasePart.
IsAscii
(value, false)) // Ascii
net\System\Net\mail\HeaderCollection.cs (1)
115
if (!MimeBasePart.
IsAscii
(name,false)) {
net\System\Net\mail\MailAddress.cs (3)
120
if (!allowUnicode && !MimeBasePart.
IsAscii
(userName, true))
140
if (!allowUnicode && !MimeBasePart.
IsAscii
(domain, true))
225
if (MimeBasePart.
IsAscii
(this.displayName, false) || allowUnicode)
net\System\Net\mail\MailMessage.cs (1)
200
if (MimeBasePart.
IsAscii
(body,true)) {
net\System\Net\mail\Message.cs (2)
174
if (subjectEncoding == null && !MimeBasePart.
IsAscii
(subject, false)) {
477
if (MimeBasePart.
IsAscii
(values[j], false)
net\System\Net\mail\MimeBasePart.cs (1)
36
if (
IsAscii
(value, false)) {