Framework Equivalent to GetTemporaryFolderItem?

Is there a new Xojo Framework equivalent of the GetTemporaryFolderItem function? I am looking for the ‘correct’ way to generate a uniquely named temporary file.

Dim classicFile As FolderItem = GetTemporaryFolderItem() Dim newFile As New Xojo.IO.FolderItem(classicFile.NativePath.ToText)

You just need to convert it from classic FolderItem to Xojo.IO.FolderItem

This is one of the many occasions where one has to mix the old and new frameworks in order to achieve a result. Lets hope the new new stuff avoids all this junk.