I am trying to write data to a file, and I am unsure if I am doing to 
correctly.

The following code results in:   "Could not find a part of the path 
\"//Personal/pw.txt\"."


String pwPath = 
Path.Combine(System.Environment.SpecialFolder.Personal.ToString(), 
"pw.txt");

StreamWriter stOut = new StreamWriter(pwPath,false);
byte[] pwBytes = System.Text.Encoding.UTF8.GetBytes(passwordField.Text);
stOut.Write(pwBytes);
stOut.Close();
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to