Exemplo n.º 1
0
        private static string GetImportExportOptionFilePath(ImportExportOptions importExportOption)
        {
            switch (importExportOption)
            {
            case ImportExportOptions.ApplicationSettings:
                return(SettingsManager.GetSettingsFilePath());

            case ImportExportOptions.NetworkInterfaceProfiles:
                return(NetworkInterfaceProfileManager.GetProfilesFilePath());

            case ImportExportOptions.IPScannerProfiles:
                return(IPScannerProfileManager.GetProfilesFilePath());

            case ImportExportOptions.WakeOnLANClients:
                return(WakeOnLANClientManager.GetClientsFilePath());

            case ImportExportOptions.PortScannerProfiles:
                return(PortScannerProfileManager.GetProfilesFilePath());

            case ImportExportOptions.RemoteDesktopSessions:
                return(RemoteDesktopSessionManager.GetSessionsFilePath());
            }

            return(string.Empty);
        }
Exemplo n.º 2
0
        private static string GetImportExportOptionFilePath(ImportExportOptions importExportOption)
        {
            switch (importExportOption)
            {
            case ImportExportOptions.Settings:
                return(SettingsManager.GetSettingsFilePath());

            case ImportExportOptions.Profiles:
                return(ProfileManager.GetProfilesFilePath());
            }

            return(string.Empty);
        }