Read and Write INI Files (dotnet-snippets.com)

submitted by jan223jan223(230) 4 years, 6 months ago

Free C# Snippet: Read and Write INI Files Enjoy it!

1 comment |category: |Views: 32

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by yesthatmcgurkyesthatmcgurk(4063) 4 years, 6 months ago 0

Sorry, but unsafe code isn't good. Plus, this code doesn't follow standard good practices for platform invoking. This may be okay for a personal project, but it fails for anything you might write for someone else to use.

It would be trivial to write a program that can read and write to win32 ini files in the standard format without resorting to p/invoking.

Reply

information Login or create an account to comment on this story