- Timestamp:
- 3/13/2012 3:07:18 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/pluginsRewrite/Eraser.Manager/Settings.cs
r2455 r2462 48 48 49 49 /// <summary> 50 /// The default file erasure method. This is a GUID since methods are51 /// implemented through plugins and plugins may not be loaded and missing52 /// references may follow.53 /// </summary>54 public Guid DefaultFileErasureMethod55 {56 get57 {58 //If the user did not define anything for this field, check all plugins59 //and use the method which was declared by us to be the highest60 //priority default61 Guid result = Store.GetValue<Guid>("DefaultFileErasureMethod");62 if (result == Guid.Empty)63 result = new Guid("{1407FC4E-FEFF-4375-B4FB-D7EFBB7E9922}");64 65 return result;66 }67 set68 {69 Store.SetValue("DefaultFileErasureMethod", value);70 }71 }72 73 /// <summary>74 /// The default unused space erasure method. This is a GUID since methods75 /// are implemented through plugins and plugins may not be loaded and76 /// missing references may follow.77 /// </summary>78 public Guid DefaultUnusedSpaceErasureMethod79 {80 get81 {82 Guid result = Store.GetValue<Guid>("DefaultUnusedSpaceErasureMethod");83 if (result == Guid.Empty)84 result = new Guid("{BF8BA267-231A-4085-9BF9-204DE65A6641}");85 return result;86 }87 set88 {89 Store.SetValue("DefaultUnusedSpaceErasureMethod", value);90 }91 }92 93 /// <summary>94 /// The PRNG used. This is a GUID since PRNGs are implemented through95 /// plugins and plugins may not be loaded and missing references may follow.96 /// </summary>97 public Guid ActivePrng98 {99 get100 {101 Guid result = Store.GetValue<Guid>("ActivePRNG");102 if (result == Guid.Empty)103 result = new Guid("{6BF35B8E-F37F-476e-B6B2-9994A92C3B0C}");104 return result;105 }106 set107 {108 Store.SetValue("ActivePRNG", value);109 }110 }111 112 /// <summary>113 50 /// Whether files which are locked when being erased should be forcibly 114 51 /// unlocked for erasure. … … 142 79 143 80 /// <summary> 144 /// Whether erasures should be run with plausible deniability. This is145 /// achieved by the executor copying files over the file to be removed146 /// before removing it.147 /// </summary>148 /// <seealso cref="PlausibleDeniabilityFiles"/>149 public bool PlausibleDeniability150 {151 get152 {153 return Store.GetValue("PlausibleDeniability", false);154 }155 set156 {157 Store.SetValue("PlausibleDeniability", value);158 }159 }160 161 /// <summary>162 /// The files which are overwritten with when a file has been erased.163 /// </summary>164 public IList<string> PlausibleDeniabilityFiles165 {166 get167 {168 return Store.GetValue("PlausibleDeniabilityFiles", new List<string>());169 }170 }171 172 /// <summary>173 81 /// Holds user decisions on whether the plugin will be loaded at the next 174 82 /// start up.
Note: See TracChangeset
for help on using the changeset viewer.
