7 references to ShouldUseBase64Encoding
System.Net.Mail (7)
System\Net\Mail\Attachment.cs (3)
111
if (MimeBasePart.
ShouldUseBase64Encoding
(encoding))
169
if (MimeBasePart.
ShouldUseBase64Encoding
(encoding))
347
MimePart.ContentType.Name = MimeBasePart.EncodeHeaderValue(_name, encoding, MimeBasePart.
ShouldUseBase64Encoding
(encoding));
System\Net\Mail\MailPriority.cs (2)
476
MimeBasePart.
ShouldUseBase64Encoding
(_subjectEncoding),
522
MimeBasePart.
ShouldUseBase64Encoding
(_headersEncoding),
System\Net\Mime\ContentDisposition.cs (1)
240
builder.Append('"').Append(MimeBasePart.EncodeHeaderValue(value, encoding, MimeBasePart.
ShouldUseBase64Encoding
(encoding))).Append('"');
System\Net\Mime\ContentType.cs (1)
208
builder.Append('"').Append(MimeBasePart.EncodeHeaderValue(value, encoding, MimeBasePart.
ShouldUseBase64Encoding
(encoding))).Append('"');