Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where can I get System.Security.Cryptography and System.Security.Cryptography.XML assemblies

2,007 views
Skip to first unread message

Veronique ROSSI

unread,
Jun 13, 2003, 10:11:46 AM6/13/03
to
Hello,

I have installed the .Net Framework (French) on my PC (Windows 2000
Professional) .
Now I want to run my sample code that uses the assembles
System.Security.Cryptography and System.Security.Cryptography.Xml.
My problem is that theses assemblies where not installed by the framework.
(I can't find them on my machine)

Do I need to install a component to have Cryptography assemblies?
Where can I download these assemblies?

Thanks,

Veronique


Christoph Schittko [MVP]

unread,
Jun 15, 2003, 11:43:27 AM6/15/03
to
They should be in

<WindowsDir>\Microsoft.NET\Framework\<version>\

You do have to add references to these assemblies to projects that need to
use them. You can do that by right-clicking on References and select Add
Reference.

--
HTH
Christoph Schittko [MVP]
Software Architect, .NET Mentor

"Veronique ROSSI" <vro...@ceitel.fr> wrote in message
news:ufzdbVbM...@TK2MSFTNGP11.phx.gbl...

Veronique ROSSI

unread,
Jun 16, 2003, 3:23:01 AM6/16/03
to
Thanks for your answer but I had already looked in this folder and seen that
the "System.Security.Cryptography.dll" was missing.
I only have "System.Security.dll".

I have tried to compile my program with this command line (using only
system.security.dll):
vbc /t:exe /main:MainModule /r:system.dll /r:system.xml.dll
/r:system.security.dll /out:exemple.exe mysample.vb
But the compilator doesn't reconize the object "KeyInfo". So
"Systeme.Security.dll" doesn't seem to be enougth...

(In "mysample.vb" I have these "Imports":
Imports System
Imports System.Xml
Imports System.Security.Cryptography
Imports System.Security.Cryptography.Xml
)

Perhaps I have missed something?
I don't know what to do to well compile my program...

Veronique

"Christoph Schittko [MVP]" <christophdo...@austin.rr.com> a écrit
dans le message news: ORKpeT1M...@TK2MSFTNGP11.phx.gbl...

Veronique ROSSI

unread,
Jun 16, 2003, 3:42:37 AM6/16/03
to
Excuse me for the precedent reply: With /r:system.dll, that DOES compil well
my program.
(I just had a syntaxe error in a decaration line:
KeyInfo myKeyInfo As new KeyInfo
instead of:
Dim myKeyInfo as new KeyInfo
that lead the compilator to say it doesn't reconize "KeyInfo" object.)

Thanks for your help,

Veronique

"Veronique ROSSI" <vro...@ceitel.fr> a écrit dans le message news:
u6zLCf9M...@tk2msftngp13.phx.gbl...

0 new messages