System.Net.Mail.Attachment
E697514
System.Net.Mail.Attachment is a .NET class used to represent and manage file or data attachments when composing and sending email messages via the System.Net.Mail API.
All labels observed (1)
| Label | Occurrences |
|---|---|
| System.Net.Mail.Attachment canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T7897460 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: System.Net.Mail.Attachment Context triple: [System.Net, containsClass, System.Net.Mail.Attachment]
-
A.
MIME
MIME (Multipurpose Internet Mail Extensions) is an internet standard that extends the format of email to support text in character sets beyond ASCII, as well as attachments like images, audio, video, and application files.
-
B.
Safe Attachments
Safe Attachments is a Microsoft Defender for Office 365 security capability that scans and detonates email attachments in a sandbox environment to block malicious files before they reach users.
-
C.
System.Net
System.Net is a .NET namespace that provides classes for network programming, including HTTP communication, sockets, and other internet protocol support.
-
D.
MSMQ
MSMQ (Microsoft Message Queuing) is a Microsoft messaging technology that enables reliable, asynchronous communication between distributed applications by queuing messages.
-
E.
SMTP
SMTP (Simple Mail Transfer Protocol) is a standard communication protocol used for sending and routing email messages across IP networks.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: System.Net.Mail.Attachment Target entity description: System.Net.Mail.Attachment is a .NET class used to represent and manage file or data attachments when composing and sending email messages via the System.Net.Mail API.
-
A.
MIME
MIME (Multipurpose Internet Mail Extensions) is an internet standard that extends the format of email to support text in character sets beyond ASCII, as well as attachments like images, audio, video, and application files.
-
B.
Safe Attachments
Safe Attachments is a Microsoft Defender for Office 365 security capability that scans and detonates email attachments in a sandbox environment to block malicious files before they reach users.
-
C.
System.Net
System.Net is a .NET namespace that provides classes for network programming, including HTTP communication, sockets, and other internet protocol support.
-
D.
MSMQ
MSMQ (Microsoft Message Queuing) is a Microsoft messaging technology that enables reliable, asynchronous communication between distributed applications by queuing messages.
-
E.
SMTP
SMTP (Simple Mail Transfer Protocol) is a standard communication protocol used for sending and routing email messages across IP networks.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
reference type ⓘ |
| assembly | System.dll ⓘ |
| canUse |
file-based attachments
ⓘ
stream-based attachments ⓘ string-based attachments ⓘ |
| configurableVia |
ContentDisposition.FileName
ⓘ
ContentDisposition.Inline ⓘ ContentType.CharSet ⓘ ContentType.MediaType ⓘ |
| hasConstructor |
Attachment(System.IO.Stream contentStream, System.Net.Mime.ContentType contentType)
ⓘ
Attachment(System.IO.Stream contentStream, string name) ⓘ Attachment(System.IO.Stream contentStream, string name, System.Text.Encoding contentEncoding, string mediaType) ⓘ Attachment(System.IO.Stream contentStream, string name, string mediaType) ⓘ Attachment(string content, string name) ⓘ Attachment(string content, string name, System.Text.Encoding contentEncoding, string mediaType) ⓘ Attachment(string fileName) ⓘ Attachment(string fileName, System.Net.Mime.ContentType contentType) ⓘ Attachment(string fileName, string mediaType) ⓘ |
| hasMemberType | public class ⓘ |
| hasMethod |
Dispose()
ⓘ
ToString() ⓘ |
| hasProperty |
ContentDisposition
ⓘ
ContentId ⓘ ContentStream ⓘ ContentType ⓘ Name ⓘ NameEncoding ⓘ |
| implements | System.IDisposable NERFINISHED ⓘ |
| inheritsFrom |
System.Net.Mime.AttachmentBase
NERFINISHED
ⓘ
System.Object ⓘ |
| introducedIn | .NET Framework 2.0 NERFINISHED ⓘ |
| lifecycle | mustBeDisposedToFreeResources ⓘ |
| namespace | System.Net.Mail NERFINISHED ⓘ |
| platform |
.NET 5+
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| relatedTo | System.Net.Mail.MailMessage NERFINISHED ⓘ |
| supportsContentType | System.Net.Mime.ContentType NERFINISHED ⓘ |
| supportsMediaType | MIME media type strings ⓘ |
| supportsScenario |
sending email with file attachments
ⓘ
sending email with inline content ⓘ |
| threadSafety | instance members not guaranteed thread-safe ⓘ |
| usedFor |
attaching files to MailMessage
ⓘ
attaching streams to MailMessage ⓘ attaching string content to MailMessage ⓘ representing email attachments ⓘ |
| usedWith | MailMessage.Attachments ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: System.Net.Mail.Attachment Description of subject: System.Net.Mail.Attachment is a .NET class used to represent and manage file or data attachments when composing and sending email messages via the System.Net.Mail API.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.