Try
{
FileStream myfs = new FileStream (filepath + @ "\patchmove.ini", FileMode.Create);
BinaryWriter MYBW = new BinaryWriter (MYFS);
Mybw.write ("The Valley of the E:\ Dragon");
Mybw.close ();
Myfs.close ();
}
catch (Exception) {}
The code is like this
Well, that's what the paper says.
The first garbled in the end how to come to think Impassability
There are two solutions:
Methods one, using StreamWriter
Try
{
FileStream myfs = new FileStream (filepath + @ "\patchmove.ini", FileMode.Create);
<span style= "Color:rgb (51, 51, 51); Font-family:helvetica, Tahoma, Arial, Sans-serif; font-size:14px; line-height:24px; Background-color:rgb (245, 245, 245); >STREAMWRITER</SPAN>MYBW = new <span style= "Color:rgb" (51, 51, 51); Font-family:helvetica, Tahoma, Arial, Sans-serif; font-size:14px; line-height:24px; Background-color:rgb (245, 245, 245); >StreamWriter</span> (MYFS);
Mybw.write (<span style= "Font-family:helvetica, Tahoma, Arial, Sans-serif;" > "e:\ Dragon Valley" </span>);
Mybw.close ();
Myfs.close ();
}
catch (Exception) {}
Method Two, change to Mybw.write (path. ToCharArray ());
Try
{
FileStream myfs = new FileStream (filepath + @ "\patchmove.ini", FileMode.Create);
<span style= "Font-family:helvetica, Tahoma, Arial, Sans-serif; Background-color:rgb (245, 245, 245); >STREAMWRITER</SPAN>MYBW = new <span style= "Font-family:helvetica, Tahoma, Arial, Sans-serif; Background-color:rgb (245, 245, 245); >StreamWriter</span> (MYFS);
Mybw.write (<span style= "Color:rgb" (Wuyi, Wuyi); Font-family:helvetica, Tahoma, Arial, Sans-serif; font-size:14px; Lin e-height:24px; Background-color:rgb (245, 245, 245); > "E:\ the Valley of the Dragon". ToCharArray () </span>);
Mybw.close ();
Myfs.close ();
}
catch (Exception) {}