C# App Config


Author: Dave
Date: 01.17.13 - 4:44am

Here is a quick code sample on an easy way to save and load application config settings using C# structure serialization. This is the same technique I used for VB6 and it strikes me as way better than the built in MS ConfigurationManager and xml app.config bullshit MS would have you use.

Couple nice things is that its trivial to include encryption (included in sample), and when you expand your config object structure, it does not wack previously saved config files (unless you were to try to reorder your structure which there is no reason for)

You can download sample code here



RSS Feed
About Me
Home

Posts:
C# App Config
Tero DES C# Test
VC 2008 Bit Fields
Speed trap
C# Db Class Generator
VB6 vrs .NET (again)
FireFox Whois Extension
git and vb6
Code Additions
Compiled date to string
C# ListView Sorter
VB6 Wish List
C# Process Injection
CAPTCHA Bots
C# PE Offset Calculator
VB6 Async Download
Show Desktop
Code release
Dll Not Found in IDE
Advanced MSScript Control
random tip
Clipart / Vector Art
VB6 Callback from C#
Binary data from VB6 to C#
CSharp and MsScriptControl
HexDumper functions
Js Beautify From VB
vb6 FormPos
Inline Asm w VB6
The .NET Fiasco
One rub on computers
Universal extractor


Comments: (0)

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 90 + 22 = ? followed by the letter: J