/// <summary> /// Creates an instance of <see cref="TempFolder"/>. /// The temporary folder is created within the user %temp% directory. /// </summary> /// <returns> /// Returns the <see cref="TempFolder"/> object representing the temporary directory. /// </returns> public static TempFolder Create() { //Get a temporary location. string tempFolder = TempFolder.GetNewPath(); return(new TempFolder(tempFolder)); }