摘要:
A good artical introduce how to create and install Windows service via C#. The artical link is attached for future refer.http://www.cnblogs.com/wuhuacong/archive/2009/02/11/1381428.htmlCall a program via Windows service is not easy as we used before. We cannot use Process to launch an program with U 阅读全文
posted @ 2013-07-23 11:12
Blackeye
阅读(719)
评论(0)
推荐(0)
摘要:
1 ) Set Access ControlDirectoryInfo dInfo = new DirectoryInfo(fileName);DirectorySecurity dSecurity = dInfo.GetAccessControl();dSecurity.AddAccessRule(new FileSystemAccessRule("everyone",FileSystemRights.FullControl, InheritanceFlags.ObjectInherit | InheritanceFlags.ContainerInherit,Propag 阅读全文
posted @ 2013-07-23 11:03
Blackeye
阅读(1563)
评论(0)
推荐(0)
浙公网安备 33010602011771号