Single Instance WinForm App in C# with Mutex and Named Pipes

Single Instance WinForm App in C# with Mutex and Named Pipes

Overview This post shows how to create a single instance WinForm C# application using a Mutex. It also demonstrates how to send any object between instances with Named Pipes. While writing OSD Background I wanted an application that would only allow a single instance...
UTF-8 and UTF-16 Text Encoding Detection Library

UTF-8 and UTF-16 Text Encoding Detection Library

Overview This post shows how to detect UTF-8 and UTF-16 text and presents a fully functional C++ and C# library that can be used to help with the detection. I recently had to upgrade the text file handling feature of AutoIt to better handle text files where no byte...