Re: UnauthorizedAccessException when accessing Virtual COM port
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.
Last edited by RaleTheBlade; September 30th, 2010 at 12:03 PM.
R.I.P. 3.5" Floppy Drives
"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones." - Albert Einstein