I utilise Visual Studio 2010 to write a simple application in C# (with silverlight) to obtain MD5 code from a string.
I included System.Security.Cryptography but I have the error such as in the title.
Can you help me?
Thanks.
I utilise Visual Studio 2010 to write a simple application in C# (with silverlight)
Share
The
MD5class is only available in the .NET framework, not in Silverlight. If you absolutely must use MD5 it will have to be through an externally developed MD5 implementation such as this one.Preferably, if this is an option for you, consider using
SHA1instead. SHA1 is both a more secure hash function (MD5 is really not considered secure by today’s standards) and available in Silverlight.