EaseFilter Demo Project
|
SecureAgent/FilterWorker.cs
Go to the documentation of this file.
71 filterRule.EventType = (uint)(FilterAPI.EVENTTYPE.WRITTEN | FilterAPI.EVENTTYPE.CREATED | FilterAPI.EVENTTYPE.DELETED | FilterAPI.EVENTTYPE.RENAMED);
75 MessageBox.Show("You don't have any monitor folder setup, add c:\\test\\* as your default test folder, I/Os from c:\\test\\* will show up in the console.");
81 EventManager.WriteMessage(102, "StartFilter", EventLevel.Information, "Start filter service succeeded.");
94 EventManager.WriteMessage(697, "DisconnectCallback", EventLevel.Information, "Filter Disconnected." + FilterAPI.GetLastErrorMessage());
118 messageSend = (FilterAPI.MessageSendData)Marshal.PtrToStructure(sendDataPtr, typeof(FilterAPI.MessageSendData));
122 EventManager.WriteMessage(139, "FilterCallback", EventLevel.Error, "Received message corrupted.Please check if the MessageSendData structure is correct.");
129 string info = "SecureAgent process request " + FilterMessage.FormatIOName(messageSend) + ",pid:" + messageSend.ProcessId +
130 " ,filename:" + messageSend.FileName + ",return status:" + FilterMessage.FormatStatus(messageSend.Status);
147 EventManager.WriteMessage(134, "FilterCallback", EventLevel.Error, "filter callback exception." + ex.Message);
153 private bool FilterRequestHandler(ref FilterAPI.MessageSendData messageSend, IntPtr replyDataPtr)
164 FilterAPI.MessageReplyData messageReply = (FilterAPI.MessageReplyData)Marshal.PtrToStructure(replyDataPtr, typeof(FilterAPI.MessageReplyData));
169 || messageSend.MessageType == (uint)FilterAPI.FilterCommand.FILTER_REQUEST_ENCRYPTION_IV_AND_KEY)
212 EventManager.WriteMessage(134, "FilterRequestHandler", EventLevel.Error, "filter callback exception." + ex.Message);
void InitListView()
Definition: CommonObjects/FilterMessage.cs:106
bool GetUserPermission(FilterAPI.MessageSendData messageSend, ref FilterAPI.MessageReplyData messageReply)
Definition: DigitalRightsManagement.cs:235
FilterWorker(ListView listView_Info)
Definition: SecureAgent/FilterWorker.cs:36
static string FormatIOName(FilterAPI.MessageSendData messageSend)
Definition: CommonObjects/FilterMessage.cs:540
static uint FilterConnectionThreads
Definition: GlobalConfig.cs:246
void AddMessage(FilterAPI.MessageSendData messageSend)
Definition: CommonObjects/FilterMessage.cs:127
Definition: NtStatus.cs:18
static Dictionary< string, FilterRule > FilterRules
Definition: GlobalConfig.cs:466
static void SendConfigSettingsToFilter()
Definition: GlobalConfig.cs:470
Definition: AccessControlForm.cs:24
static string FormatStatus(uint status)
Definition: CommonObjects/FilterMessage.cs:786
Definition: DigitalRightsManagement.cs:39
string ExcludeFileFilterMasks
Definition: FilterRuleSection.cs:95
static bool IOAccessControl(FilterAPI.MessageSendData messageSend, ref FilterAPI.MessageReplyData messageReply)
Definition: CommonObjects/FileIOControlService.cs:24
string IncludeFileFilterMask
Definition: FilterRuleSection.cs:88
Definition: ConfigSetting.cs:17
FilterMessage filterMessage
Definition: SecureAgent/FilterWorker.cs:33
#define registerKey
bool StartService(ref string lastError)
Definition: SecureAgent/FilterWorker.cs:42
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