I am using 'RijndaelManaged' and 'CryptoStream' classes in C# to encrypt files. Before encrypting the files, i want to check whether the file is already encrypted or not.
I tried using File.GetAttributes()
method to check for Encryption but it is not working.
I need some tips on ways i can check whether the file is already Encrypted or not.
See Question&Answers more detail:os