Geeks With Blogs

WinToolZone - Spelunking Microsoft Technologies
I work as a developer on the Common Language Runtime (CLR) team, specifically in the areas of exception handling and CLR hosting.

The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Inside and Out... An attempt to understand technology better... July 2005 Entries
SetAccessRuleProtection and Inherited NTFS Permissions
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... ......

Posted On Tuesday, July 12, 2005 5:36 PM

Working with NTFS Access Control using .NET Framework 2.0
.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 ......

Posted On Tuesday, July 12, 2005 12:37 PM

Understanding CLR's Special Threads

There are multiple special threads which the CLR maintains and executes. Yun Jin talks about them in his blog at

Must read for those who want to understand CLR better!

Posted On Tuesday, July 12, 2005 9:48 AM

CalendarSP Update
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 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 ......

Posted On Tuesday, July 5, 2005 9:17 PM

Copyright © Gaurav Khanna | Powered by: