System.Net.Mail.Tests.AttachmentTest.ContentDisposition C# (CSharp) Method

ContentDisposition() private method

private ContentDisposition ( ) : void
return void
        public void ContentDisposition()
        {
            Attachment attach = Attachment.CreateAttachmentFromString("test", "attachment-name");
            Assert.NotNull(attach.ContentDisposition);
            Assert.Equal("attachment", attach.ContentDisposition.DispositionType);
        }