which PInvoke do I need to verify the permissions (CanRead, CanWrite, CanExecute...) for an UNC-Path(\UNC\?\ or \?\, Files and Folders).
With System.IO I would use fileInfo.GetAccessControll().GetAccessRules
to get the AuthorizationRuleCollection
but I can't work with System.IO, because this namespace does not support long paths.
I know how to get the owner, but I found no solution for the other information. I thought I have to use GetNamedSecurityInfo as well but the information are very sparse.
Thanks.