ClickOnce UnauthorizedAccessException from SerialPort

T

TeeCo

I'm creating a ClickOnce installation of an application that uses the
SerialPort class. I can publish, install and open the application
without error but while running the application at the point at which I
open the SerialPort I get an UnauthorizedAccessException exception.

I've been adjusting the ClickOnce Security Settings and republishing
and rerunning for hours and I can't find the Permission required by the
application that will allow access to the serial port.

Does anyone know which Permission and its Setting that will allow
access in a ClickOnce environment to a SerialPort?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top