13 references to IsAscii
System.Net.Mail (13)
System\Net\Mail\Attachment.cs (3)
99
if (MimeBasePart.
IsAscii
(content, false))
155
if (MimeBasePart.
IsAscii
(content, false))
344
if (!allowUnicode && !string.IsNullOrEmpty(_name) && !MimeBasePart.
IsAscii
(_name, false))
System\Net\Mail\MailAddress.cs (3)
187
if (!allowUnicode && !MimeBasePart.
IsAscii
(_userName, true))
207
if (!allowUnicode && !MimeBasePart.
IsAscii
(domain, true))
300
if (MimeBasePart.
IsAscii
(_displayName, false) || allowUnicode)
System\Net\Mail\MailMessage.cs (1)
226
if (MimeBasePart.
IsAscii
(_body, true))
System\Net\Mail\MailPriority.cs (2)
165
if (_subjectEncoding == null && !MimeBasePart.
IsAscii
(_subject, false))
512
if (MimeBasePart.
IsAscii
(values[j], false)
System\Net\Mime\ContentDisposition.cs (1)
232
|| MimeBasePart.
IsAscii
(value, false)) // Ascii
System\Net\Mime\ContentType.cs (1)
200
|| MimeBasePart.
IsAscii
(value, false)) // Ascii
System\Net\Mime\HeaderCollection.cs (1)
75
if (!MimeBasePart.
IsAscii
(name, false))
System\Net\Mime\MimeBasePart.cs (1)
31
if (
IsAscii
(value, false))