By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,346 Members | 2,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,346 IT Pros & Developers. It's quick & easy.

Toggle Direct Connection (RAS) between Host and Guest via C# program

P: n/a
I am looking for information on changing a configured Direct Connection (that
uses RAS via serial port) via a C# Windows program. I want to change back and
forth between Host and Guest (i.e., listener and caller).

A bit of background: we have two PCs that are connected via a cable from COM1 to
COM1. We have a direct RAS connection configured on each machine. By default
each machine is set up as Guest. On one of the PCs I would like to
programmatically change the connection configuration to Host, and be able to set
it back to Guest. My guess is that there is a way to do this via some WMI
namespace & API, but I could use help finding these.

Anybody else do such a thing from a C# (or C++) program ?

Thanks for any help on this...
Michael Rose
Unisys Corp.
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.