how does filestream insert record but an proud lock?


what i'm perplexing filestream c#/.net open twin streams: appending record reading those writes asynchronously (for section contrast network tie doing code). i can't figure out writer tide open record non-exlusive locking mode so formula always throws an exception:




the slight can't opening file
'c:\test.txt' since being used
another process.




here's smattering formula demonstrates issue:



filestream fwriter = new filestream("c:\\test.txt", filemode.append,
fileaccess.write, fileshare.read);
filestream freader = new filestream("c:\\test.txt", filemode.open,
fileaccess.read, fileshare.read);


Comments

Popular posts from this blog

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?

grails record upload problems

how i emanate permitted url asp.net mvc?