Gets whether to delete the clips temporary folder when the software shuts down.

Namespace:  ScreenMonkey.Clips
Assembly:  ScreenMonkey.Clips (in ScreenMonkey.Clips.dll) Version: 3.2.0.0 (3.3.1.4)

Syntax

C#
public virtual bool CleanupTempFolder { get; }
Visual Basic (Declaration)
Public Overridable ReadOnly Property CleanupTempFolder As Boolean
Visual C++
public:
virtual property bool CleanupTempFolder {
	bool get ();
}

Remarks

Override this property and return false if you want the temporary folder to remain when the software is shut down.

Examples

Deletes the temporary clip folder and all the files.
CopyC#
public virtual bool CleanupTempFolder
{
   get { return false; }
}

public override void Remove()
{
   try {
       if (ClipTempFolder is DirectoryInfo) {
           ClipTempFolder.Refresh();
           if (ClipTempFolder.Exists) {
               ClipTempFolder.Delete(true);
           }
       }
   }
   catch (Exception ex) 
   {
       //Report this error.
       OnUnhandledException(ex);
   }
}

See Also