The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,483 other followers

Archive for June 13th, 2013

Thinstuff Remote Application – NLDelphi

Posted by jpluimers on 2013/06/13

Interesting thread: Thinstuff Remote Application – NLDelphi.

Allows remote application access from Windows 7 / Vista / XP and Windows SBS, and it looks like you don’t need special CAL for it.


Posted in Power User, Windows, Windows 7, Windows Vista, Windows XP | Leave a Comment »

Reminder to self: 3 months ago “all mine!: openSUSE 12.3 is out!”

Posted by jpluimers on 2013/06/13

Time to try out the 3 months old release and see how much got fixed in the mean time.


via: all mine!: openSUSE 12.3 is out!.

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »

.NET/C# – CreateTemporaryRandomDirectory (via: Stack Overflow)

Posted by jpluimers on 2013/06/13

A while ago I needed unique temporary directories. This appears not to be standard functionality in the .NET System.IO.Path or System.IO.Directory class.

Josh Kelley asked a question about it before, and I adapted the example by Scott-Dorman based on GetTempPath and GetRandomFileName  and comments by Chris into a more robust CreateTemporaryRandomDirectory one that works in .NET 2.0 and higher:

using System.IO;

namespace BeSharp.IO
    public class DirectoryHelper
        public static string GetTemporaryDirectory()
                    string tempPath = Path.GetTempPath();
                    string randomFileName = Path.GetRandomFileName();
                    string tempDirectory = Path.Combine(tempPath, randomFileName);
                    return tempDirectory;
                catch (IOException /* ex */)
                    // continue
            } while (true);

You can call it like this: Read the rest of this entry »

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development | 2 Comments »

%d bloggers like this: