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

◆ CreateSymbolicLink()

static FileSystemInfo System.IO.Directory.CreateSymbolicLink ( string path,
string pathToTarget )
inlinestatic

Definition at line 372 of file Directory.cs.

373 {
374 string fullPath = Path.GetFullPath(path);
375 FileSystem.VerifyValidPath(pathToTarget, "pathToTarget");
376 FileSystem.CreateSymbolicLink(path, pathToTarget, isDirectory: true);
377 return new DirectoryInfo(path, fullPath, null, isNormalized: true);
378 }

References System.IO.FileSystem.CreateSymbolicLink(), System.IO.Path.GetFullPath(), and System.IO.FileSystem.VerifyValidPath().