Missing System.Security.Cryptography
I had what sounds like a similar problem in a newly created C# console application. By default System reference showed some of System.Security, but not any of the Cryptography stuff. I had to right click 'References', 'Add Reference' and select 'System Security' after which I had access to the Cryptography stuff.
I'm fairly new to C# so sorry if my description isn't up to snuff or if this solution doesn't apply to mobile apps. Maybe helps someone else. thx
Comments
-
Nagriar about 2 years
I want to use the
HMACSHA1
class in a project but the namespaceSystem.Security.Cryptography
is missing. If I add the referenceSystem.Security
, I find the namespaceCryptography
but without the classHMACSHA1
. And I can't find the namespaceWindows.Security.Cryptography
which seems to replaceSystem.Security.Cryptography
.My projet targets the framework
.NET 4.5
and the.NET
for Windows Store apps and He useNuget
onVisual 2012
onWindows 7
.Someone have a solution to this problem ?