public static void CleanUp() { FilesToDelete.Each(file => { if (File.Exists(file)) { File.Delete(file); } }); Prepare(); ApiKeyCollection keys = ApiKey.LoadAll(); keys.Delete(); SecureSessionCollection sessions = SecureSession.LoadAll(); sessions.Delete(); ApplicationCollection all = Application.LoadAll(); all.Delete(); ClearAppsAndStopServers(); }
public static void ClearApps() { ApplicationCollection apps = Secure.Application.LoadAll(); apps.Delete(); }