private static extern Int32 _SetFixedVolumeAutoDiscardTime(string securityToken, string deviceName, SystemTime newTime);
 private static extern Int32 _SetAutoDiscardTime(string securityToken, SystemTime newTime);
 /// <summary>
 /// Defines a global time stamp for an auto discard of fixed volumes
 /// </summary>
 /// <param name="securityToken">Security token</param>
 /// <param name="newTime">New time stamp</param>
 /// <exception cref="Exception">if call was not successfull.</exception>
 public static void SetAutoDiscardTime(string securityToken, SystemTime newTime)
 {
     if (_SetAutoDiscardTime(securityToken, newTime) != 0)
     {
         throw new Exception();
     }
 }
 /// <summary>
 /// Defines a time stamp for an auto discard of a given fixed volume
 /// </summary>
 /// <param name="securityToken">Security token</param>
 /// <param name="deviceName">Device name of the volume</param>
 /// <param name="newTime">New time stamp</param>
 /// <exception cref="Exception">if call was not successfull.</exception>
 public static void SetFixedVolumeAutoDiscardTime(string securityToken, string deviceName, SystemTime newTime)
 {
     if (_SetFixedVolumeAutoDiscardTime(securityToken, deviceName, newTime) != 0)
     {
         throw new Exception();
     }
 }
 /// <summary>
 /// Static constructor
 /// </summary>
 static SystemTime()
 {
     MinValue = new SystemTime(1601, 1, 1);
     MaxValue = new SystemTime(30827, 12, 31, 23, 59, 59, 999);
 }