EaseFilter Demo Project
|
ShareFilesManagerForm.cs
Go to the documentation of this file.
40 listView_SharedFiles.Columns.Add("fileName", 350, System.Windows.Forms.HorizontalAlignment.Left);
41 listView_SharedFiles.Columns.Add("CreationTime", 300, System.Windows.Forms.HorizontalAlignment.Left);
74 sharedFileList.Add(shareFileForm.selectedDRPolicy.CreationTime.ToString(), shareFileForm.selectedDRPolicy);
99 if (MessageBox.Show("Are you sure you want to delete the file " + drPolicy.FileName + " ?", "Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != System.Windows.Forms.DialogResult.Yes)
111 MessageBox.Show("Delete shared file " + selectedDRPolicy.FileName + " failed with error:" + lastError, "DeleteSharedFile", MessageBoxButtons.OK, MessageBoxIcon.Error);
124 MessageBox.Show("Delete shared file " + selectedDRPolicy.FileName + " failed with error " + ex.Message, "DeleteSharedFile", MessageBoxButtons.OK, MessageBoxIcon.Error);
156 bool retVal = false;//GetFileDRInfo(AccountForm.accountName, AccountForm.password, fileName, creationTime, ref encryptedDRPolicy, ref lastError);
160 MessageBox.Show("Get digital right information for file " + fileName + " failed with error:" + lastError, "GetFileDRInfo", MessageBoxButtons.OK, MessageBoxIcon.Error);
187 MessageBox.Show("There are no shared file list for guest user.", "RefreshFileList", MessageBoxButtons.OK, MessageBoxIcon.Error);
195 MessageBox.Show("Shared file list was refreshed.", "RefreshFileList", MessageBoxButtons.OK, MessageBoxIcon.Information);
214 bool retVal = false;//GetFileList(AccountForm.accountName, AccountForm.password, ref encryptFileList, ref lastError);
227 List<string> decrypFileList = DigitalRightControl.DecryptStrToObject<List<string>>(encryptFileList);
Definition: AccountForm.cs:24
long ExpireTime
The file will be expired after the expire time, and it can't be accessed.
Definition: DigitalRightControl.cs:76
Definition: AccessControlForm.cs:24
This is the DR info meta data which will be stored in server if revoke access control is enabled...
Definition: DigitalRightControl.cs:43
Definition: ConfigSetting.cs:17
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