Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
i wont to save and open files but i dont know they EXACT position. BUT i know they are in the system folder. So would the file location be "%systemroot%\system32\" ? cause i'm building a program that saves passwords so i thought rather than encript then file i would just store it in the system32 folder, i mean how my ppl ACCUALLY go exploring in that folder other than me :p
  • Administrators
Posted

environment.GetFolderPath(Environment.SpecialFolder.System) will return the path to the system folder.

 

BTW: a LOT of people will go looking in system32 - so it isn't a good place to store unencrypted passwords. You are better looking at the System.Security.Cryptography namespace and using one of the classes in there to store a hash of the passwords.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...