user2697095
user2697095

Reputation: 93

windows 8 store Application , Using Rijndael Encryption & Decryption

I am trying to decrypt a string using Rijndael algorithm. But I could not use System.security.cryptography .Is raises "Error 1 The type or namespace name 'Cryptography' does not exist in the namespace 'System.Security' (are you missing an assembly reference?)" I am using Microsoft Visual Studio 2012 Express for Windows. Any help is appreciated.

Upvotes: 3

Views: 660

Answers (2)

Richthofen
Richthofen

Reputation: 2086

Know this is an old question, but Windows 8 Store apps use a subset of .NET, '.NET For Windows Store Apps', which means that some libraries have not been ported. You will need to use Windows.Security.Cryptography instead, and refactor to use those libraries instead.

Upvotes: 1

Serjik
Serjik

Reputation: 10971

Right Click on your project

Check Target Framework, it should be .NET Framework 4.5 and not .NET Framework 4.5 Client Profile

Upvotes: 2

Related Questions