Beispiel #1
0
        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();
        }
Beispiel #2
0
        public static void ClearApps()
        {
            ApplicationCollection apps = Secure.Application.LoadAll();

            apps.Delete();
        }