no need to be sorry....
since I am actually going to implement both ways...
I just want to see whether I can keep the app.config secret as well...
Cause that's the major problem i'm encountering right now.
Thanks
May I go on and ask....let's say I'm working on a normal window form application, with the string storing in app.config. How can I keep the config file from being accessed by others?
Since it's local machine, people can click directly to the file and open the config file.
Thanks Neal...
In fact the case right now is that I have a web.config file that stores the database connection string. However, since web.config is easily accessable, is there a way to let's say encrypt the file or block people from accessing it?
Thanks again.
In my application, there is a connection string to the database.
Is there any way I can prevent people from knowing the actual connection string (especially from admin people who know actually know the code of the program)?
Below are the ways I thought of but they all seem to have flaw:
1)...
I found the answer to the question!
Thanks JuggaloBrotha first of all.
While continuously searching on the net, I found this useful piece of code:
PublicEnum SystemMetric AsInteger
TabletPC = 86
EndEnum
And with this function call I can check whether it's a tabletPC...
I've been struggling to check for Windows Edition with vb.net....
i.e. Home Edition, Profession Edition, TabletPC Edition
I noticed that to check the operating system version, I can use Environment.OSVersion.ToString (it'll give me Windows NT 5.1.2600.0 where "Windows 5.1" represents XP....and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.