8 public partial class FileManager
31 if ( !parent.Exists )
continue;
46 public static readonly
string MyDocuments = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
51 public static readonly
string MyMusic = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic);
56 public static readonly
string MyPictures = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);
61 public static readonly
string MyVideos = Environment.GetFolderPath(Environment.SpecialFolder.MyVideos);
66 public static readonly
string ExePath = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory);
71 public static readonly
string DataPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
"Data");
76 public static readonly
string ContentPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
"Content");
Usein käytettyjä polkuja Windowsissa.
static readonly string MyDocuments
Omat tiedostot.
static readonly string DataPath
Ohjelman data-alihakemisto.
static readonly string ExePath
Ohjelman hakemisto.
static readonly string ContentPath
Ohjelman content-alihakemisto.
static readonly string MyVideos
Omat videot.
static readonly string MyPictures
Omat kuvatiedostot.
static readonly string MyMusic
Oma musiikki.
FileManager(params string[] pathCandidates)