public void TestSetAccessControl() { var filename = Util.CreateNewFile(uncDirectory); try { var fi = new FileInfo(filename); var security = new FileSecurity(); fi.SetAccessControl(security); } finally { Pri.LongPath.File.Delete(filename); } }
public void TestSetAccessControl() { var filename = Util.CreateNewFile(uncDirectory); try { var fi = new FileInfo(filename); var security = new FileSecurity(); fi.SetAccessControl(security); } finally { Pri.LongPath.File.Delete(filename); } }