Hello everyone,

I am trying to accomplish something simple but not sure how the iPhone
paths works..
I've got a folder inside my application called Log and I want to save a
file in there which I can push to my webservice when needed, but how do I
get that path?

I used the following code:

string path = Environment.GetFolderPath
(Environment.SpecialFolder.Personal);

string filePath = Path.Combine(path, "out.txt");


 File.WriteAllText(filePath, "teststuff.");



string text = File.ReadAllText(filePath);

Console.WriteLine(path);

Console.WriteLine(text);

This doesn't use the applications folder it goes
to: /Users/Mittchel/Library/Application Support/iPhone
Simulator/4.0.2/Applications/

Anyone can clearify me on this?
Thanks :D
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to