CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 66

Threaded View

  1. #8
    Join Date
    Nov 2010
    Posts
    139

    Re: how can i encrypt a file?

    hey thanks. am i supposed to incllude any additional libs? because i get the following errors:

    error C2039: 'CopyTo' : is not a member of 'System::Security::Cryptography::CryptoStream'
    error C2061: syntax error : identifier 'AesManaged'
    error C2065: 'AesManaged' : undeclared identifier
    error C2065: 'cryptalg' : undeclared identifier
    error 2065: 'cryptalg' : undeclared identifier
    error C2065: 'cryptalg' : undeclared identifier
    error C2065: 'cryptalg' : undeclared identifier
    error C2065: 'cryptalg' : undeclared identifier
    error C2227: left of '->CreateDecryptor' must point to class/struct/union/generic type
    error left of '->CreateEncryptor' must point to class/struct/union/generic type
    error C2227: left of '->IV' must point to class/struct/union/generic type 31
    error C2227: left of '->Key' must point to class/struct/union/generic type

    also where do i put the file string path: to find the file to be encrypted?
    Last edited by katy_price; December 21st, 2010 at 04:51 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured