System.Security.Cryptography.Pkcs and visual basic

A

awrightus

I was always under the impression that all of the same classes and
objects within .net extend to all of the languages (c++,c# and vb).
However, I'm wondering if that's not the case. I'm trying to figure
out how to do some things with s/mime digital signatures so I'm
exploring the System.Security.Cryptography namespace, in particular
System.Security.Cryptography.Pkcs and
System.Security.Cryptography.X509Certificates. However, it seems as
if the System.Security.Cryptography.Pkcs namespace doesn't exist in
vb. The example here on MSDN, http://msdn.microsoft.com/en-us/library/ms180956.aspx,
uses C#, but I didn't think that it meant that was exclusive to C#.
Am I missing something? Thanks.

Steve

p.s. Using Visual Studio 2008 Professional
 
C

Cor Ligthert[MVP]

Steve,

Every Net namespace (including the Microsoft.VisualBasic namespace) (this
are classes no objects) is available to every Net managed code language.

Maybe you forgot to set a reference to this namespace.

Cor
 
A

awrightus

Steve,

Every Net namespace (including the Microsoft.VisualBasic namespace) (this
are classes no objects) is available to every Net managed code language.

Maybe you forgot to set a reference to this namespace.

Cor






- Show quoted text -

Didn't realize I needed to manually add the system.security
reference. I added that and now I'm all set. Thanks.

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top