Re: UnauthorizedAccessException when accessing Virtual COM port
Has anyone found a solution for this without going to c++ to access the serial port?
Thanks
A
Re: UnauthorizedAccessException when accessing Virtual COM port
Quote:
Originally Posted by
AlecJames
Has anyone found a solution for this without going to c++ to access the serial port?
Thanks
A
Nope... even a year later I am still using a wrapper class named ComPort which makes "unsafe" API calls from my C# code to prevent this error from occurring. I wonder why the heck MS hasn't fixed this issue... even in .NET 4.0.