RandomString() public static méthode

public static RandomString ( ) : string
Résultat string
Exemple #1
0
        public void InitializeBackupSettings()
        {
            _application = SingletonProvider <Utilities> .Instance.GetApp();

            SetBackupDir(Path.Combine(Path.GetTempPath(), Utilities.RandomString()));

            DirectoryInfo dirInfo = new DirectoryInfo(_backupDir);

            dirInfo.Create();

            File.Delete(_application.Settings.Backup.LogFile);
        }