huby Posted November 28, 2005 Posted November 28, 2005 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. Quote there are 10 kinds of people on earth: those who understand binary, and those who don't.
fguihen Posted November 30, 2005 Posted November 30, 2005 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.