Example #1
0
        private void CreateMouse()
        {
            string readerMouse = GetFilePath("ReaderMouse." + ReaderMouseMode.Ready.ToString().ToLower());

            File.Create(readerMouse).Close();
            Secuirty.AddFileSecurity(readerMouse, @"Everyone", FileSystemRights.FullControl, AccessControlType.Allow);
        }
Example #2
0
        private void CreateMode(ReaderMode rMode)
        {
            string modPath = GetFilePath("Reader." + rMode.ToString().ToLower());

            File.Create(modPath).Close();
            Secuirty.AddFileSecurity(modPath, @"Everyone", FileSystemRights.FullControl, AccessControlType.Allow);
        }
Example #3
0
 public void CaptureWindowToFile(IntPtr handle, string filename, ImageFormat format,
                                 string account, FileSystemRights rights, AccessControlType type)
 {
     CaptureWindowToFile(handle, filename, format);
     Secuirty.AddFileSecurity(filename, account, rights, type);
 }
Example #4
0
 public void CaptureScreenToFile(string filename, ImageFormat format,
                                 string account, FileSystemRights rights, AccessControlType type)
 {
     CaptureScreenToFile(filename, format);
     Secuirty.AddFileSecurity(filename, account, rights, type);
 }
Example #5
0
 public static void WindowScreenshot(IntPtr handle, String filepath, ImageFormat format,
                                     string account, FileSystemRights rights, AccessControlType type)
 {
     WindowScreenshot(handle, filepath, format);
     Secuirty.AddFileSecurity(filepath, account, rights, type);
 }