Continuing from my last post, the same can be achieved using SetAccessRuleProtection as shown below: using System;using System.Collections.Generic;... System.Text;using System.Security.AccessContr... System.IO;using System.Security.Principal; namespace AceInheritRemove{ class Program { static void Main(string[] args) { // Get the object and its SecDescp DirectoryInfo dir = new DirectoryInfo("e:\\kgk\\tes... DirectorySecurity sec = dir.GetAccessControl(Access... sec.SetAccessRuleProtection... ......
.NET Framework 2.0 ("Whidbey") has introduced a new set of classes in the Framework Class Library (FCL) that allows you to work with the NTFS Access Control Lists. You can get object owners, security descriptors, create security descriptors, and much more. All of this resides under the System.Security.AccessControl namespace. Below is a snippet that exemplifies how to use it. Scenario: You need to create a child folder without the permissions inherited by the parent folder, but with only permissions ......
There are multiple special threads which the CLR maintains and executes. Yun Jin talks about them in his blog at http://blogs.msdn.com/yunjin/archive/2005/07/05/435726.aspx.
Must read for those who want to understand CLR better!
With TechED 2005 India over, I have got sometime to work on the feedback I have got on the various components I have made available at http://www.wintoolzone.com/. Amongst them was to fix the tab order of CalendarSP - the date picker for SmartPhone 2003 and SmartPhone 5.0 platform. Download the updated control from http://www.wintoolzone.com/... ......