1 write to ContentType
System.Net.Mail (1)
System\Net\Mail\Attachment.cs (1)
241
_part.
ContentType
= value;
9 references to ContentType
System.Net.Mail (9)
System\Net\Mail\Attachment.cs (4)
236
return _part.
ContentType
;
347
MimePart.
ContentType
.Name = MimeBasePart.EncodeHeaderValue(_name, encoding, MimeBasePart.ShouldUseBase64Encoding(encoding));
351
MimePart.
ContentType
.Name = _name;
368
MimePart.
ContentType
.Name = value;
System\Net\Mail\MailMessage.cs (1)
380
wholeView.
ContentType
.Parameters["type"] = view.ContentType.MediaType;
System\Net\Mime\MimeMultiPart.cs (3)
38
ContentType
.MediaType = "multipart/" + type.ToString().ToLowerInvariant();
39
ContentType
.Boundary = GetNextBoundary();
49
MimeWriter mimeWriter = new MimeWriter(outputStream,
ContentType
.Boundary!);
System\Net\Mime\MimePart.cs (1)
129
ContentType
.Name = name;