This month Stephen Toub explains how to use the Decorator design pattern to implement your own Stream-derived decorator class that lets you intercept and monitor every call to the stream, and how you can make your application a single-instance applicatio
.NET Matters: Stream Decorator, Single-Instance Apps
.NET Matters: Stream Decorator, Single-Instance Apps