Shortcut

starcraft

Centurion
Joined
Jun 29, 2003
Messages
167
Location
Poway CA
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
 
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.
 
Back
Top