Encryption Article

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Posted this in the .Net.Security forums but did not get any replies - anyone
here got any expreience of this,
Thanks,
Gary
------------copy--------------------
Hi All,
Just a quick question - has anybody tried this article lately?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT10.asp

Its on the Patterns and Practices site, entitled "How To: Create an
Encryption Library in .NET 1.1". I am sure it always used to compile OK,
since a guy I used to know used it. Now, however, the article says 'Last
Updated Jan 06' and it does not compile.

The problem seems to be the GetCryptoServiceProvider method, which now has 2
parameters, yet the function calls still have only one parameter.
Consequently you get the 'no overloaded method takes 1 parameter' erro when
you compile.

Am I being stupid, (likely...ho ho), or has anybody else come across this.

thanks,
Gary
 
Hi Gary,

Thanks for posting!

Your idea is appreciated! I think this is a mistake in the current
document. The GetCryptoServiceProvider takes two parameters actually. So
please use the method as correct way. I'll contact the author and submit a
feedback. Thanks for your reminder and understanding!

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD were
updated on February 14, 2006. Please complete a re-registration process
by entering the secure code mmpng06 when prompted. Once you have
entered the secure code mmpng06, you will be able to update your profile
and access the partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
 
Back
Top