C# Executable Executing directory
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
Not an accurate answer to your question, however I would suggest to have a look at:
Path.GetTempFileName()
http://msdn.microsoft.com/en-us/library/system.io.path.gettempfilename.aspx
Try with Environment.CurrentDirectory
This returns the folder of your currently working directory.