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

◆ MoveFile()

static bool Interop.Kernel32.MoveFile ( string src,
string dst,
bool overwrite )
inlinestaticpackage

Definition at line 969 of file Interop.cs.

970 {
973 uint num = 2u;
974 if (overwrite)
975 {
976 num |= 1u;
977 }
978 return MoveFileExPrivate(src, dst, num);
979 }
static bool MoveFileExPrivate(string src, string dst, uint flags)
static string EnsureExtendedPrefixIfNeeded(string path)

References System.IO.PathInternal.EnsureExtendedPrefixIfNeeded(), and Interop.Kernel32.MoveFileExPrivate().

Referenced by System.IO.FileSystem.MoveDirectory(), and System.IO.FileSystem.MoveFile().