Board: [DeveloperNet] C# Subject: Console.Read and Write, a From: Nightfox Date: Wed Sep 09, 2009 22:59 Re: Console.Read and Write, and Synchronet? By: to All on Sat Sep 05 2009 12:20:26 > > Does anyone know how I would go about redirecting Console.Read and > > Console.Write to Synchronet? I'm having difficulty finding any recent > > documentation on writing external/door programs, especially for C#. I think what we would need is a Synchronet API for C#, similar to what has been done for JavaScript. Simply using Console.Read and Console.Write won't work, I don't think, because those functions know nothing about Synchronet. If you want to write a BBS door in C#, I think what you'd need to do is download one of the popular C/C++ door kits and write a managed wrapper for it so that you could call its functions from C#. I think there is a Synchronet door library available for C++, but if not, I've heard that OpenDoors is a popular C/C++ door library. I've written a managed wrapper to call legacy C++ code from C#. It's not too difficult, although it can be a bit tedious when there are many functions you want to call. Nightfox --- ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com .