Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hello all!

 

i need to sign and encrypt an e-mail message (using a certificate in the certificate store) and send it using C#2005.

 

this is very confusing, as i found all required resources on msdn2 to sign and encrypt a cmsEnvelopedMessage, but i cannot find how this relates to an e-mail message (System.Net.Mail)

 

in an older vb6 version, we used CAPICOM, but aren't able to get it to work for the .NET 2.0 framework ... is it worth looking into, or is CAPICOM obsolete at this point ?

 

any hints/tips/links are welcome ...

 

thank you!

 

Huby.

there are 10 kinds of people on earth:

those who understand binary, and those who don't.

Posted
if you just wrap up capicom in a .net wrapper using the runtime.interop namespace. that allows you to access windows api's by wrapping them. its a lot wasier than it sounds , just do a quick search on google, or use the msdn help. you just wrap up any methods from CAPICOM that you need and then you call them as regular methods. hope this helps

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...