System.Net.Mime.ContentDisposition.ReadDate Property

Gets or sets the read date for a file attachment.

Syntax

public DateTime ReadDate { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The ContentDisposition.ReadDate property is used to send time stamp information with a file being sent in an e-mail message. This value sets the Read-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 ContentDisposition.ReadDate, get the System.Net.Mime.ContentDisposition for the attachment by 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