RandomString() public static method

public static RandomString ( ) : string
return string
Ejemplo n.º 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);
        }