C# Create MIME Message?

Petey B picture Petey B · Jul 16, 2010 · Viewed 8.3k times · Source

Is there any built in functionality to MIME a file in C# .Net? What I am looking to do is:

  1. Convert a file into a MIME message
  2. Sign the MIME Message to a pcks 7 blob
  3. MIME that pkcs 7 blob
  4. Finally encrypt the entire thing.

Any suggestions on how I would go about this (not the encryption or signing part but the MIMEing)? What exactly is envolved in MIMEing a file?

Answer

Carvellis picture Carvellis · Jul 26, 2010

There is a good commercial package for a small fee: Mime4Net