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

◆ CreateAttachmentFromString() [3/3]

static Attachment System.Net.Mail.Attachment.CreateAttachmentFromString ( string content,
string? name,
Encoding? contentEncoding,
string? mediaType )
inlinestatic

Definition at line 138 of file Attachment.cs.

139 {
140 Attachment attachment = new Attachment();
141 attachment.SetContentFromString(content, contentEncoding, mediaType);
142 attachment.Name = name;
143 return attachment;
144 }

References System.Net.Mail.Attachment.Attachment(), and System.Net.Mail.AttachmentBase.SetContentFromString().