D
David White
My program needs to update the access control rules for a file (actually a
virtual COMM port). I have the code working on my development machine. But when
run on a different machine (or same machine with another account), it fails
with a System.UnauthorizedAccessException. I presume it is because on my dev
machine/account my account is a member of the Administrators group and on the
other machine/account it is just a normal user.
But I need to have the code work for a non-admin user (basically any user).
What do I have to request to get this level of permission and how do I get it?
Thanks.
virtual COMM port). I have the code working on my development machine. But when
run on a different machine (or same machine with another account), it fails
with a System.UnauthorizedAccessException. I presume it is because on my dev
machine/account my account is a member of the Administrators group and on the
other machine/account it is just a normal user.
But I need to have the code work for a non-admin user (basically any user).
What do I have to request to get this level of permission and how do I get it?
Thanks.