Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Tue, 5 Aug 2008 08:18:50 -0700 (PDT),    group: microsoft.public.platformsdk.security        back       


Visual Studio 2008\Managed C++\Add Reference for AesCryptoServiceProvider?   
Hi All,

I think this topic could go to a number of MS groups. Since it is in
regards to AesCryptoServiceProvider, I'm hoping one of the Security
folks can help.

Windows XP SP3. Visual Studio 2008. Managed Dll.

I'm attempting to create an AesCryptoServiceProvider:
AesCryptoServiceProvider^ aes = gcnew AesCryptoServiceProvider( csp );

I receive from the compiler, "error C2065:
'AesCryptoServiceProvider' : undeclared identifier."

I verified Project Properties->Targeted Framework is .Net Framework
3.5. Though [1] states the assembly I need is System.Core (in
System.Core.dll), there is no System.Core in ...\WINDOWS\.Net Framework
\...\3.5\. So I can't force a reference to it.

What gives? I have not had success in finding information on C2065 and
AesCryptoServiceProvider on the web or in the groups.

Thanks in Advance,
Jeff
Jeffrey Walton

[1] http://msdn.microsoft.com/en-us/library/system.security.cryptography.aescryptoserviceprovider.aspx
date: Tue, 5 Aug 2008 08:18:50 -0700 (PDT)   author:   Jeffrey Walton

Re: Visual Studio 2008\Managed C++\Add Reference for AesCryptoServiceProvider?   
We need to at the reference in %PROGRAMFILES%\Reference Assemblies
\Microsoft\Framework\v3.5.

[Note to self]: I would have changed the location from %WINDIR%
\Microsoft .Net\ also so that others have the same problem.


On Aug 5, 11:18 am, Jeffrey Walton  wrote:
> Hi All,
>
> I think this topic could go to a number of MS groups. Since it is in
> regards to AesCryptoServiceProvider, I'm hoping one of the Security
> folks can help.
>
> Windows XP SP3. Visual Studio 2008. Managed Dll.
>
> I'm attempting to create an AesCryptoServiceProvider:
> AesCryptoServiceProvider^ aes = gcnew AesCryptoServiceProvider( csp );
>
> I receive from the compiler, "error C2065:
> 'AesCryptoServiceProvider' : undeclared identifier."
>
> I verified Project Properties->Targeted Framework is .Net Framework
> 3.5. Though [1] states the assembly I need is System.Core (in
> System.Core.dll), there is no System.Core in ...\WINDOWS\.Net Framework
> \...\3.5\. So I can't force a reference to it.
>
> What gives? I have not had success in finding information on C2065 and
> AesCryptoServiceProvider on the web or in the groups.
>
> Thanks in Advance,
> Jeff
> Jeffrey Walton
>
> [1]http://msdn.microsoft.com/en-us/library/system.security.cryptography..
date: Tue, 5 Aug 2008 13:56:21 -0700 (PDT)   author:   Jeffrey Walton

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us