static public int SetAccessControl(IntPtr l)
 {
     try {
         System.IO.FileStream self = (System.IO.FileStream)checkSelf(l);
         System.Security.AccessControl.FileSecurity a1;
         checkType(l, 2, out a1);
         self.SetAccessControl(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 public static void SetAccessControl(FileStream fileStream, FileSecurity fileSecurity)
 {
     fileStream.SetAccessControl(fileSecurity);
 }
Exemple #3
0
 public static void SetAccessControl(FileStream fileStream, FileSecurity fileSecurity)
 {
     fileStream.SetAccessControl(fileSecurity);
 }