EaseFilter Demo Project
FileProtector/Program.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Windows.Forms;
5 
6 namespace FileProtector
7 {
8  static class Program
9  {
13  [STAThread]
14  static void Main()
15  {
16  bool mutexCreated = false;
17  System.Threading.Mutex mutex = new System.Threading.Mutex(true, "EaseFilter", out mutexCreated);
18 
19  if (!mutexCreated)
20  {
21  MessageBox.Show("FilterAPI was loaded by another process, start application failed.", "Start", MessageBoxButtons.OK, MessageBoxIcon.Error);
22  mutex.Close();
23  return;
24  }
25 
26  Application.EnableVisualStyles();
27  Application.SetCompatibleTextRenderingDefault(false);
28  Application.Run(new TrayForm());
29 
30 
31  mutex.Close();
32  }
33  }
34 }

Social Network


Services Overview

Architect, implement and test file system filter drivers for a wide range of functionality. We can offer several levels of assistance to meet your specific.

Contact Us

You are welcome to contact us for salse or partnership.

Sales: sales@easefilter.com
Support: support@easefilter.com
Info: info@easefilter.com