This solution was written in Visual Basic using Visual Studio 2008. To include in C# either compile this library and add a reference to the .DLL or port the code which is fairly small. There are other C# solutions available on the web and on code plex so I won't recreate the wheel (I'll find links in the future for those who want to keep their source in C# and not bother with porting).
These details are provided for information only. No information here is legal advice and should not be used as such.