ih is any way to encode or encrypt an ini file so only my application can read???
thanks
ih is any way to encode or encrypt an ini file so only my application can read???
thanks
Know the answer? Post it. Somebody with the same question will find it here.
Moses Spencer20 pointsPosted Feb 28, 2015, 1:42 AM EST
// Create new config file with encryption password. var configFile = new IniFile( new IniOptions { EncryptionPassword = "My Password" }); // Add some content. configFile.Sections.Add( new IniSection(configFile, "My Section", new IniKey(configFile, "My First Key", "First Keys Value"), new IniKey(configFile, "My Second Key", "Second Keys Value"), new IniKey(configFile, "My Third Key", "Third Keys Value"))); // Save and encrypt the file. configFile.Save("Sample.ini");Bechir BejaouiRank #144 · 15.9K pointsPosted Sep 14, 2008, 7:43 AM EDT
and this is my other article about enrypting and decrypting config sections within the configuration file but dont forget to rate them