/// <summary> /// Get the current directory. /// </summary> public static string GetCurrentDirectory() { var wrapper = new TempPathWrapper(); return(BufferHelper.ApiInvoke(ref wrapper)); }
// Asynchronous Disk I/O Appears as Synchronous on Windows // https://support.microsoft.com/en-us/kb/156932 // // NTFS File Attributes // https://blogs.technet.microsoft.com/askcore/2010/08/25/ntfs-file-attributes/ /// <summary> /// Get the temporary directory path. /// </summary> public static string GetTempPath() { var wrapper = new TempPathWrapper(); return(BufferHelper.ApiInvoke(ref wrapper)); }