Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 263
  • Last Modified:

Any good sample code of AES encriyption in vb.net2001

Any good and simple using sample code of AES encryption in vb.net2001.

I am trying to encrypt a little text in a configuration file.

Or is there any way to save the exchangable info in the exe file itself.
0
turbot_yu
Asked:
turbot_yu
2 Solutions
 
Jacques Bourgeois (James Burger)PresidentCommented:
You can embed the file into the exe as a resource.

To do so, open the Project's Properties Window in the Project menu.

Goto to the Resources tab.

Select Add Resource...Add Existing File at the top of the window.

Get your file.

Rename it with a right click if desired. The name you define there is the name that you use in your code to reference the file.

In your code, My.Resourses.<Name you gave> will return a String containing the content of the file.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now