I have written the following code for creating a file and it works fine...
string dirAddress = "C:\\FTPTrace\\" + ipHeader.DestinationAddress.ToString() + ".txt";
System.IO.StreamWriter logfile = new StreamWriter(dirAddress,true);
Now I want to add ip address of the local machine in the path... as...
string dirAddress = "\\192.168.15.96\\C:\\FTPTrace\\" + ipHeader.DestinationAddress.ToString() + ".txt";
but it raises the exception "A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll"
Kindly guide me where am i wrong... ??
Plz help...