Skip to content
Snippets Groups Projects
Commit 3c519940 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Clean up DriveToCheck class.

parent 6831233b
No related branches found
No related tags found
No related merge requests found
using System.Xml.Serialization;
namespace ATxCommon.Serializables
namespace ATxCommon.Serializables
{
/// <summary>
/// Helper class for the nested SpaceMonitoring sections.
......@@ -10,14 +8,11 @@ namespace ATxCommon.Serializables
/// <summary>
/// A drive name (single letter followed by a colon, e.g. "D:") to be monitored for space.
/// </summary>
[XmlElement("DriveName")]
public string DriveName { get; set; }
/// <summary>
/// Limit (in MB) of free space, lower values will trigger a notification.
/// </summary>
/// Value is to be compared to DriveInfo.TotalFreeSpace, hence the same type (long).
[XmlElement("SpaceThreshold")]
public long SpaceThreshold { get; set; }
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment