Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetCurrentDirectory()

static void System.IO.Directory.SetCurrentDirectory ( string path)
inlinestatic

Definition at line 291 of file Directory.cs.

292 {
293 if (path == null)
294 {
295 throw new ArgumentNullException("path");
296 }
297 if (path.Length == 0)
298 {
299 throw new ArgumentException(SR.Argument_PathEmpty, "path");
300 }
301 Environment.CurrentDirectory = Path.GetFullPath(path);
302 }

References System.SR.Argument_PathEmpty, and System.IO.Path.GetFullPath().