Hi guys,
I was just wondering are there any built in classes etc I should look at if I was going to create a program to backup data from one location to another?? I don't want help with how to do any code, as I need to do this myself. But I just wondered are there any built in functions etc I should research into that will help me when I come to write it?
Thank You,
Daniel
Loading
AlanPosted Nov 22, 2007, 4:31 PM
Well, the System.IO namespace is the place to look and in particular the Directory, File, DirectoryInfo, FileInfo and DriveInfo classes. The first two are just 'static versions of the second two.
Here's a link to the MSDN online docs for this namespace:
http://msdn2.microsoft.com/en-us/library/system.io.aspx
If you get stuck, there's an example of how to copy a directory full of files in the docs for the DirectoryInfo class:
http://msdn2.microsoft.com/En-US/library/system.io.directoryinfo.aspx