How to modify share permission using C#?
I am a newbie trying to write a C# app to change share permission. Can someone shine some light which class in the .Net FW I should use?
I have tried to use System.ManagementServices (using WMI), but the object structure is just too different as WMI use GetSecurityDescriptor method which I can’t find within the .Net FW. Should I use ADSI class (System.DirectoryServices)? Any input is appreciated. Thanks.
Answers (1)
0
Looks like a configuration issue. Please take a look at this short discussion:
http://stackoverflow.com/questions/31868803/error-invalid-option-6-for-langversion-must-be-iso-1-iso-2-3-4-5-or-defa