Attachment.NameEncoding Property

 

Specifies the encoding for the AttachmentName.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

public Encoding NameEncoding { get; set; }

Property Value

Type: System.Text.Encoding

An Encoding value that specifies the type of name encoding. The default value is determined from the name of the attachment.

.NET Framework
Available since 2.0
Return to top
Show: