public int SetSecurity(object FileNode, object FileDesc0, System.Security.AccessControl.AccessControlSections Sections, byte[] SecurityDescriptor) { try { return(HandleResult(Storage.SetSecurity((IFSEntryPointer)FileDesc0, Sections, SecurityDescriptor)).GetNtStatus()); } catch (Win32Exception ex) { throw WindowsExceptionGenerator.GetIOException(ex); } catch (NTException ex) { throw WindowsExceptionGenerator.GetIOException(ex); } }