1 write to ContentType
System.Net.Mail (1)
System\Net\Mail\Attachment.cs (1)
241
_part.
ContentType
= value;
10 references to ContentType
System.Net.Mail (10)
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)
378
wholeView.
ContentType
.Parameters["type"] = view.ContentType.MediaType;
System\Net\Mime\MimeMultiPart.cs (4)
39
ContentType
.MediaType = "multipart/" + type.ToString().ToLowerInvariant();
40
ContentType
.Boundary = GetNextBoundary();
164
context._writer = new MimeWriter(context._outputStream!,
ContentType
.Boundary!);
225
MimeWriter mimeWriter = new MimeWriter(outputStream,
ContentType
.Boundary!);
System\Net\Mime\MimePart.cs (1)
129
ContentType
.Name = name;