MoveFile (kernel32)
Last changed: -118.208.182.144

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern bool MoveFile(string lpExistingFileName, string lpNewFileName);

[DllImport("KERNEL32.DLL", EntryPoint="MoveFileW", SetLastError=true,
     CharSet=CharSet.Unicode, ExactSpelling=true,
     CallingConvention=CallingConvention.StdCall)]
public static extern bool MoveFile(String src, String dst);

VB.Net Signature:

<DllImport("KERNEL32.DLL", CharSet:=CharSet.Auto)> _

    Function MoveFile (ByVal src As String, ByVal dst As String) As Boolean
    End Function

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some! Chris' were here!!!

Alternative Managed API:

Do you know one? Please contribute it!

See http://msdn.microsoft.com/en-us/library/system.io.directoryinfo.aspx

and http://msdn.microsoft.com/en-us/library/system.io.fileinfo.aspx

Documentation
MoveFile on MSDN