November 24th, 2008

One wrong move and your dead, or at least your computer. Nothing is more nerve wracking than manipulating the Windows Registry. In the following example we show how you can (safely!) create your own little part of the registry and store and retrieve your applications configuration. Which is a nice way to store user names, passwords and anything else that you fancy.
Read the rest of this entry »
Tags: Learn C#, registry, windows
Posted in Beginner, Learn C# | No Comments, yet!
November 20th, 2008

Communication between different threads in a process is trivial as they share the same objects in memory. But what if you would like to communicate with a different process (program) on the same computer? You could open a TCP/IP port to share data but the added overhead of this would slow down your program if you send a lot of data.
Read the rest of this entry »
Tags: Learn C#, named pipes, windows
Posted in Beginner, Learn C# | 1 Comment already!»