Пример #1
0
 public TemporaryFile(string group, string extension)
 {
     Group = group;
     Path  = Storage.DataPath + Platform.Instance.DirSep + RandomGenerator.GetHash() + ".tmp." + extension;
     TemporaryFiles.Add(this);
 }
Пример #2
0
 public void Close()
 {
     TemporaryFiles.Remove(this);
 }
Пример #3
0
 public TemporaryFile(string group, string extension)
 {
     Group = group;
     Path  = Engine.Instance.Storage.GetPathInData(RandomGenerator.GetHash() + ".tmp." + extension);
     TemporaryFiles.Add(this);
 }