Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Attachment() [3/7]

System.Net.Mail.Attachment.Attachment ( string fileName,
string? mediaType )
inline

Definition at line 66 of file Attachment.cs.

67 : base(fileName, mediaType)
68 {
69 Name = Path.GetFileName(fileName);
70 base.MimePart.ContentDisposition = new ContentDisposition();
71 }
static ? string GetFileName(string? path)
Definition Path.cs:200
ContentDisposition? ContentDisposition
Definition Attachment.cs:52

References System.Net.Mail.Attachment.ContentDisposition, System.IO.Path.GetFileName(), and System.Net.Mail.Attachment.Name.