System.Net.Mime.ContentDisposition.Size Property

Gets or sets the size of a file attachment.

Syntax

public long Size { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The ContentDisposition.Size property is used to send time stamp information with a file being sent in an e-mail message. The System.Net.Mail.MailMessage class is used to compose the message. The System.Net.Mail.Attachment class is used to attach a file to an e-mail message.

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