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

◆ CreateAttachmentFromString() [2/3]

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

Definition at line 130 of file Attachment.cs.

131 {
132 Attachment attachment = new Attachment();
133 attachment.SetContentFromString(content, null, string.Empty);
134 attachment.Name = name;
135 return attachment;
136 }

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