public virtual void SetEncoding(AttachmentInternal.AttachmentEncoding encoding) { this.encoding = encoding; }