System.IO.Path.GetTempFileName on Android

Related to Android File-io? - Unity Answers

Is it possible to use

System.IO.Path.GetTempFileName()

or is there anything better to create a temporary filestream?

Using System.IO.Path.GetTempFileName() in Android build for Unity 2017.1.p4 just causes the application to freeze completely. As a workaround we used to create files in Application.temporaryCachePath