2 writes to _name
System.Net.Mail (2)
System\Net\Mail\Attachment.cs (2)
367
_name
= MimeBasePart.DecodeHeaderValue(value);
372
_name
= value;
9 references to _name
System.Net.Mail (9)
System\Net\Mail\Attachment.cs (9)
344
if (!allowUnicode && !string.IsNullOrEmpty(
_name
) && !MimeBasePart.IsAscii(
_name
, false))
347
MimePart.ContentType.Name = MimeBasePart.EncodeHeaderValue(
_name
, encoding, MimeBasePart.ShouldUseBase64Encoding(encoding));
351
MimePart.ContentType.Name =
_name
;
359
return
_name
;
389
if (
_name
!= null &&
_name
!= string.Empty)
406
if (
_name
!= null &&
_name
!= string.Empty)