public TemporaryFile(string group, string extension) { Group = group; Path = Storage.DataPath + Platform.Instance.DirSep + RandomGenerator.GetHash() + ".tmp." + extension; TemporaryFiles.Add(this); }
public void Close() { TemporaryFiles.Remove(this); }
public TemporaryFile(string group, string extension) { Group = group; Path = Engine.Instance.Storage.GetPathInData(RandomGenerator.GetHash() + ".tmp." + extension); TemporaryFiles.Add(this); }