2 writes to name
System (2)
net\System\Net\mail\Attachment.cs (2)
375
this.
name
= MimeBasePart.DecodeHeaderValue(value);
379
this.
name
= value;
10 references to name
System (10)
net\System\Net\mail\Attachment.cs (10)
355
if (!allowUnicode &&
name
!= null &&
name
.Length != 0 && !MimeBasePart.IsAscii(
name
, false)) {
360
MimePart.ContentType.Name = MimeBasePart.EncodeHeaderValue(
name
, encoding ,MimeBasePart.ShouldUseBase64Encoding(encoding));
363
MimePart.ContentType.Name =
name
;
369
return
name
;
394
if(
name
!= null &&
name
!= String.Empty){
412
if(
name
!= null &&
name
!= String.Empty){