G
Guest
I am trying to write a program for a server application that needs to write a
file and read a file from a network driver with different network ID and
password. Here is code
using (Stream stream = new
FileStream(@"\\10.225.1.31\insight",FileMode.OpenOrCreate))
{
StreamWriter sw = new StreamWriter(stream);
sw.WriteLine ("abc");
sw.Close();
}
The obvious trouble I am having is there is no way for me to set ID and
password.
Thanks in advance
file and read a file from a network driver with different network ID and
password. Here is code
using (Stream stream = new
FileStream(@"\\10.225.1.31\insight",FileMode.OpenOrCreate))
{
StreamWriter sw = new StreamWriter(stream);
sw.WriteLine ("abc");
sw.Close();
}
The obvious trouble I am having is there is no way for me to set ID and
password.
Thanks in advance