Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ CreateSymbolicLink()

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

Definition at line 990 of file File.cs.

991 {
992 string fullPath = Path.GetFullPath(path);
993 FileSystem.VerifyValidPath(pathToTarget, "pathToTarget");
994 FileSystem.CreateSymbolicLink(path, pathToTarget, isDirectory: false);
995 return new FileInfo(path, fullPath, null, isNormalized: true);
996 }

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