System.Net.Mime.ContentDisposition.ModificationDate Property

Gets or sets the modification date for a file attachment.

Syntax

public DateTime ModificationDate { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The ContentDisposition.ModificationDate property is used to send time stamp information with a file being sent in an e-mail message. This value sets the Modification-Date parameter in the Content-Disposition header sent with the e-mail message.

The System.Net.Mail.MailMessage class is used to compose an e-mail message. The System.Net.Mail.Attachment class is used to attach a file to an e-mail message. To set the ContentDisposition.ModificationDate property, get the System.Net.Mime.ContentDisposition for the attachment using the System.Net.Mail.Attachment.ContentDisposition property.

The Content-Disposition header is described in RFC 2183 available at tp://www.ietf.org/.

Requirements

Namespace: System.Net.Mime
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0