Useful Code Snippets

This selection contains a catalog of code snippets that others may find useful. Feel free to post your own, but please ensure what you post is well documented both in the code and on this page.

  • Runtime DLL Loader - load DLL files and integrate them into your program at runtime.
  • Singleton Application - code to make sure only one instance of your program is running at a time. If another one is requested, the existing one comes up instead.
  • Shared Dictionary Wrapper - code that provides a robust wrapper around a Grouplab.Networking.SharedDictionary object to handle a variety of error conditions in a much more logical way.