(int index, string prefix)
| 233 | }); |
| 234 | |
| 235 | internal static string tempNameForIndex(int index, string prefix) |
| 236 | { |
| 237 | if (index < directoryChars.Value.Length) { |
| 238 | return prefix + directoryChars.Value[index]; |
| 239 | } |
| 240 | |
| 241 | return prefix + directoryChars.Value[index % directoryChars.Value.Length] + tempNameForIndex(index / directoryChars.Value.Length, ""); |
| 242 | } |
| 243 | |
| 244 | public static DirectoryInfo GetTempDirectory(string localAppDirectory) |
| 245 | { |
no outgoing calls