[Mono-dev] SerialPort - GetPortNames patch
martin at martsoft.co.uk
Sun Dec 2 09:26:31 EST 2007
Attached is a patch to implement GetPortNames for windows by looking in the
registry. Can someone test it out and commit it for me if it is acceptable.
I have tested it on XP and Vista, but if anyone can check the registry
location is also valid for 2000 that would be useful.
I am working on a project that uses serial ports quite extensively and it
would be useful if mono supported the full functionality with buffering and
events. I should have some time to work on this myself so if whoever knows
this class best can give me some idea of why it isn't already done and what
approaches were considered. I can spend some time looking at it.
P.S. This is the first patch I have submitted so if I need to do anything
differently please let me know. I made it with TortoiseSVN but I assume it
shouldn't be any different than svn.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2318 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071202/5c05d79b/attachment.bin
More information about the Mono-devel-list